Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001744/0.001744, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002201/0.002201, allocations: 214.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.732/1.732, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476 MB / 0.7707 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002938/0.002938, allocations: 65.75 kB / 1.118 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5048, allocations: 170 MB / 1.284 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2242/0.729, allocations: 157.9 MB / 1.438 GB, free: 13.32 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.7549, allocations: 10.15 MB / 1.448 GB, free: 3.152 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.7583, allocations: 127 kB / 1.448 GB, free: 3.027 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006683/0.7649, allocations: 1.884 MB / 1.45 GB, free: 1.133 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.7709, allocations: 1.686 MB / 1.452 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.7738, allocations: 0.8017 MB / 1.452 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00562/0.7794, allocations: 3.165 MB / 1.455 GB, free: 11.46 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.7811, allocations: 0.9573 MB / 1.456 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.7836, allocations: 1.202 MB / 1.458 GB, free: 9.258 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.7864, allocations: 1.136 MB / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.7868, allocations: 124 kB / 1.459 GB, free: 8 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.789, allocations: 0.7833 MB / 1.46 GB, free: 7.215 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006229/0.7896, allocations: 493.9 kB / 1.46 GB, free: 6.73 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.7909, allocations: 0.8196 MB / 1.461 GB, free: 5.906 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005604/0.7965, allocations: 3.494 MB / 1.464 GB, free: 2.398 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.7965, allocations: 0 / 1.464 GB, free: 2.398 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7965, allocations: 4 kB / 1.464 GB, free: 2.395 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.858e-05/0.7966, allocations: 0 / 1.464 GB, free: 2.395 MB / 1.154 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.005463/0.8021, allocations: 2.826 MB / 1.467 GB, free: 15.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8021, allocations: 8.031 kB / 1.467 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.8038, allocations: 398 kB / 1.467 GB, free: 15.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.8082, allocations: 1.943 MB / 1.469 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.8083, allocations: 61.98 kB / 1.469 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.8084, allocations: 79.95 kB / 1.469 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.8102, allocations: 1.037 MB / 1.47 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.8102, allocations: 0 / 1.47 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.8103, allocations: 36 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.8104, allocations: 28.94 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.8117, allocations: 0.7024 MB / 1.471 GB, free: 11.12 MB / 1.17 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.006881/0.8186, allocations: 3.47 MB / 1.475 GB, free: 7.562 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.8192, allocations: 306.5 kB / 1.475 GB, free: 7.254 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.8195, allocations: 172 kB / 1.475 GB, free: 7.086 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.8196, allocations: 19.98 kB / 1.475 GB, free: 7.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.8197, allocations: 38.56 kB / 1.475 GB, free: 7.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.8197, allocations: 0 / 1.475 GB, free: 7.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=32): time 0.003477/0.8231, allocations: 1.578 MB / 1.477 GB, free: 5.398 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.8232, allocations: 55.41 kB / 1.477 GB, free: 5.332 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00422/0.8274, allocations: 2.737 MB / 1.479 GB, free: 2.582 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.8275, allocations: 33.7 kB / 1.479 GB, free: 2.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.8286, allocations: 1.066 MB / 1.48 GB, free: 1.469 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.8288, allocations: 123 kB / 1.481 GB, free: 1.348 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.829, allocations: 118.2 kB / 1.481 GB, free: 1.227 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002684/0.8292, allocations: 326 kB / 1.481 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.8295, allocations: 165 kB / 1.481 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.8302, allocations: 451.3 kB / 1.482 GB, free: 200 kB / 1.17 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.002414/0.8326, allocations: 1.006 MB / 1.483 GB, free: 15.11 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.8326, allocations: 4 kB / 1.483 GB, free: 15.1 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001592/0.8342, allocations: 0.7813 MB / 1.483 GB, free: 14.31 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.8342, allocations: 8.844 kB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8342, allocations: 4 kB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.8345, allocations: 68.81 kB / 1.483 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.8348, allocations: 99.84 kB / 1.484 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.8369, allocations: 1.731 MB / 1.485 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.8379, allocations: 27.94 kB / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.838, allocations: 24 kB / 1.485 GB, free: 12.25 MB / 1.186 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.001432/0.8394, allocations: 0.7992 MB / 1.486 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.8399, allocations: 226.5 kB / 1.486 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.8403, allocations: 238.2 kB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8403, allocations: 4 kB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8403, allocations: 4 kB / 1.486 GB, free: 10.97 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009579/0.8413, allocations: 0.5977 MB / 1.487 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/0.845, allocations: 1.791 MB / 1.489 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.845, allocations: 0 / 1.489 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.8453, allocations: 71.84 kB / 1.489 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.8455, allocations: 65.16 kB / 1.489 GB, free: 8.297 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.8455, allocations: 12 kB / 1.489 GB, free: 8.285 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.8473, allocations: 1.715 MB / 1.491 GB, free: 6.469 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/0.8473, allocations: 11.88 kB / 1.491 GB, free: 6.457 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8489, allocations: 0.9214 MB / 1.492 GB, free: 5.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009579/0.8499, allocations: 335.5 kB / 1.492 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.8501, allocations: 8 kB / 1.492 GB, free: 5.141 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.8506, allocations: 15.98 kB / 1.492 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.8507, allocations: 35.88 kB / 1.492 GB, free: 5.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.8507, allocations: 19.98 kB / 1.492 GB, free: 5.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003455/0.8542, allocations: 1.934 MB / 1.494 GB, free: 3.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8542, allocations: 0 / 1.494 GB, free: 3.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001209/0.8554, allocations: 296 kB / 1.494 GB, free: 2.84 MB / 1.186 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.00034/0.8557, allocations: 159.1 kB / 1.494 GB, free: 2.676 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.8568, allocations: 0.5113 MB / 1.495 GB, free: 2.152 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8568, allocations: 0 / 1.495 GB, free: 2.152 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.8572, allocations: 302.7 kB / 1.495 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.8608, allocations: 0.8649 MB / 1.496 GB, free: 1.004 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.8685, allocations: 3.977 MB / 1.5 GB, free: 12.94 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.87, allocations: 1.25 MB / 1.501 GB, free: 11.65 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.8704, allocations: 99.44 kB / 1.501 GB, free: 11.55 MB / 1.201 GB Notification: Performance of SimCode: time 1.433e-06/0.8704, allocations: 0 / 1.501 GB, free: 11.55 MB / 1.201 GB Notification: Performance of Templates: time 0.07602/0.9464, allocations: 42.75 MB / 1.543 GB, free: 0.957 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.772788221016526]