Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000796/0.000796, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9248/0.9248, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389.1 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.021e-05, allocations: 6.219 kB / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6658/0.6658, allocations: 157.9 MB / 1.155 GB, free: 1 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.681, allocations: 10.14 MB / 1.165 GB, free: 10.04 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.6842, allocations: 127 kB / 1.165 GB, free: 9.973 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.005399/0.6896, allocations: 1.905 MB / 1.167 GB, free: 9.102 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.6949, allocations: 1.731 MB / 1.169 GB, free: 8.039 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.6971, allocations: 0.8128 MB / 1.17 GB, free: 7.594 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004708/0.7018, allocations: 3.246 MB / 1.173 GB, free: 5.957 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.7033, allocations: 0.9252 MB / 1.174 GB, free: 5.496 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.7063, allocations: 1.739 MB / 1.175 GB, free: 4.785 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.7082, allocations: 0.9599 MB / 1.176 GB, free: 4.438 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.7085, allocations: 126 kB / 1.176 GB, free: 4.438 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.7102, allocations: 0.786 MB / 1.177 GB, free: 4.176 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.7107, allocations: 0.5021 MB / 1.178 GB, free: 3.883 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008729/0.7115, allocations: 0.6475 MB / 1.178 GB, free: 3.621 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.7162, allocations: 3.4 MB / 1.182 GB, free: 2.43 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7162, allocations: 0 / 1.182 GB, free: 2.43 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7162, allocations: 1.469 kB / 1.182 GB, free: 2.43 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.822e-05/0.7163, allocations: 7.359 kB / 1.182 GB, free: 2.426 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004739/0.7211, allocations: 2.805 MB / 1.184 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7211, allocations: 9.531 kB / 1.184 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.7223, allocations: 392.4 kB / 1.185 GB, free: 468 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/0.7256, allocations: 1.942 MB / 1.187 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.7256, allocations: 57.62 kB / 1.187 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-05/0.7257, allocations: 78.41 kB / 1.187 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.727, allocations: 1.04 MB / 1.188 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.727, allocations: 1.375 kB / 1.188 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.7271, allocations: 39.55 kB / 1.188 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.7271, allocations: 24.69 kB / 1.188 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008457/0.728, allocations: 0.6929 MB / 1.189 GB, free: 14.58 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.7324, allocations: 3.473 MB / 1.192 GB, free: 12.51 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.7328, allocations: 298.9 kB / 1.192 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.733, allocations: 175.5 kB / 1.192 GB, free: 12.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.7331, allocations: 16.3 kB / 1.192 GB, free: 12.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.7331, allocations: 38.41 kB / 1.192 GB, free: 12.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.7331, allocations: 0 / 1.192 GB, free: 12.27 MB / 1.042 GB Notification: Performance of matching and sorting (n=32): time 0.002534/0.7357, allocations: 1.574 MB / 1.194 GB, free: 11.36 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.7357, allocations: 55.53 kB / 1.194 GB, free: 11.29 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.7388, allocations: 2.74 MB / 1.197 GB, free: 10.4 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.7389, allocations: 33.02 kB / 1.197 GB, free: 10.37 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000956/0.7398, allocations: 1.064 MB / 1.198 GB, free: 9.531 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.74, allocations: 123.7 kB / 1.198 GB, free: 9.434 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.7401, allocations: 109 kB / 1.198 GB, free: 9.371 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.7402, allocations: 329.9 kB / 1.198 GB, free: 9.055 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.7403, allocations: 165.6 kB / 1.198 GB, free: 9 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.7407, allocations: 446.9 kB / 1.199 GB, free: 8.598 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.742, allocations: 1.008 MB / 1.2 GB, free: 8.051 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.742, allocations: 1.375 kB / 1.2 GB, free: 8.051 MB / 1.042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009795/0.743, allocations: 0.7934 MB / 1.201 GB, free: 7.641 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.743, allocations: 11.69 kB / 1.201 GB, free: 7.637 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.743, allocations: 6.656 kB / 1.201 GB, free: 7.637 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.7432, allocations: 60.12 kB / 1.201 GB, free: 7.609 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.7435, allocations: 97.75 kB / 1.201 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.7448, allocations: 1.72 MB / 1.202 GB, free: 5.996 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/0.7456, allocations: 33.81 kB / 1.203 GB, free: 5.977 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.7457, allocations: 30.69 kB / 1.203 GB, free: 5.965 MB / 1.042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.7469, allocations: 0.7914 MB / 1.203 GB, free: 5.465 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.7471, allocations: 234.8 kB / 1.204 GB, free: 5.336 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.7473, allocations: 243.7 kB / 1.204 GB, free: 5.203 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7474, allocations: 2.406 kB / 1.204 GB, free: 5.203 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7474, allocations: 0 / 1.204 GB, free: 5.203 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005252/0.7479, allocations: 0.6022 MB / 1.204 GB, free: 4.688 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.7503, allocations: 1.776 MB / 1.206 GB, free: 3.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7503, allocations: 3.312 kB / 1.206 GB, free: 3.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.7505, allocations: 72.41 kB / 1.206 GB, free: 3.496 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.7506, allocations: 58.97 kB / 1.206 GB, free: 3.465 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.7506, allocations: 9.688 kB / 1.206 GB, free: 3.461 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.7521, allocations: 1.729 MB / 1.208 GB, free: 1.855 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7521, allocations: 2.656 kB / 1.208 GB, free: 1.855 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.7531, allocations: 0.9223 MB / 1.209 GB, free: 1.215 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.7537, allocations: 331.4 kB / 1.209 GB, free: 1.004 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.7538, allocations: 9.281 kB / 1.209 GB, free: 1 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.7542, allocations: 20.11 kB / 1.209 GB, free: 0.9883 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.7542, allocations: 34.36 kB / 1.209 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.7542, allocations: 10.5 kB / 1.209 GB, free: 0.9648 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002493/0.7567, allocations: 1.934 MB / 1.211 GB, free: 15.94 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7567, allocations: 6.125 kB / 1.211 GB, free: 15.93 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001252/0.758, allocations: 300.5 kB / 1.211 GB, free: 15.91 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000415/0.7584, allocations: 152.2 kB / 1.212 GB, free: 15.8 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.7595, allocations: 0.5184 MB / 1.212 GB, free: 15.49 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.7595, allocations: 0 / 1.212 GB, free: 15.49 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.7598, allocations: 294.7 kB / 1.212 GB, free: 15.29 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.7629, allocations: 0.8552 MB / 1.213 GB, free: 14.88 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.7693, allocations: 3.886 MB / 1.217 GB, free: 12.57 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009745/0.7703, allocations: 1.251 MB / 1.218 GB, free: 11.86 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.7706, allocations: 96.47 kB / 1.218 GB, free: 11.86 MB / 1.057 GB Notification: Performance of SimCode: time 1.744e-06/0.7706, allocations: 0 / 1.218 GB, free: 11.86 MB / 1.057 GB Notification: Performance of Templates: time 0.05658/0.8272, allocations: 42.69 MB / 1.26 GB, free: 1.895 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.553122212179005]