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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 108.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 195.6 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 489.2 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001916/0.001916, allocations: 67.89 kB / 1.103 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9659/0.9678, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2179/1.186, allocations: 179.3 MB / 1.438 GB, free: 1.676 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01835/1.204, allocations: 10.99 MB / 1.449 GB, free: 8.684 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/1.208, allocations: 89.31 kB / 1.449 GB, free: 8.652 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006196/1.214, allocations: 2.002 MB / 1.451 GB, free: 7.273 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005306/1.219, allocations: 1.613 MB / 1.452 GB, free: 5.969 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/1.222, allocations: 0.7914 MB / 1.453 GB, free: 5.266 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005047/1.227, allocations: 3.149 MB / 1.456 GB, free: 2.094 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/1.229, allocations: 1.312 MB / 1.457 GB, free: 0.75 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/1.231, allocations: 1.244 MB / 1.458 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.233, allocations: 1.102 MB / 1.46 GB, free: 14.4 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002979/1.234, allocations: 135.9 kB / 1.46 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/1.236, allocations: 0.9044 MB / 1.461 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005254/1.236, allocations: 486 kB / 1.461 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/1.238, allocations: 1.091 MB / 1.462 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004789/1.242, allocations: 3.471 MB / 1.465 GB, free: 8.305 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.242, allocations: 0 / 1.465 GB, free: 8.305 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.543e-06/1.242, allocations: 4 kB / 1.465 GB, free: 8.301 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.121e-05/1.242, allocations: 0 / 1.465 GB, free: 8.301 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.004187/1.247, allocations: 2.894 MB / 1.468 GB, free: 5.34 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/1.247, allocations: 8.031 kB / 1.468 GB, free: 5.332 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/1.248, allocations: 390 kB / 1.469 GB, free: 4.949 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/1.251, allocations: 2.039 MB / 1.471 GB, free: 2.848 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/1.251, allocations: 54 kB / 1.471 GB, free: 2.793 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.252, allocations: 76 kB / 1.471 GB, free: 2.719 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.253, allocations: 0.9368 MB / 1.472 GB, free: 1.742 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.253, allocations: 3.938 kB / 1.472 GB, free: 1.738 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/1.253, allocations: 32 kB / 1.472 GB, free: 1.707 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/1.253, allocations: 32.94 kB / 1.472 GB, free: 1.676 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/1.254, allocations: 0.7063 MB / 1.472 GB, free: 0.9688 MB / 1.154 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.005747/1.26, allocations: 4.461 MB / 1.477 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/1.261, allocations: 323.1 kB / 1.477 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/1.261, allocations: 176.8 kB / 1.477 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/1.261, allocations: 93.09 kB / 1.477 GB, free: 11.68 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.261, allocations: 42.56 kB / 1.477 GB, free: 11.63 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/1.261, allocations: 0 / 1.477 GB, free: 11.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=32): time 0.003083/1.264, allocations: 1.74 MB / 1.479 GB, free: 9.812 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.264, allocations: 55.41 kB / 1.479 GB, free: 9.746 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/1.268, allocations: 2.949 MB / 1.482 GB, free: 6.781 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.268, allocations: 29.7 kB / 1.482 GB, free: 6.746 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.269, allocations: 1.067 MB / 1.483 GB, free: 5.672 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.269, allocations: 130.9 kB / 1.483 GB, free: 5.543 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/1.269, allocations: 114.1 kB / 1.483 GB, free: 5.426 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.27, allocations: 326 kB / 1.484 GB, free: 5.102 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/1.27, allocations: 165 kB / 1.484 GB, free: 4.941 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/1.27, allocations: 370.6 kB / 1.484 GB, free: 4.492 MB / 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.002194/1.273, allocations: 1.083 MB / 1.485 GB, free: 3.305 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.273, allocations: 3.938 kB / 1.485 GB, free: 3.301 MB / 1.17 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001272/1.274, allocations: 0.8053 MB / 1.486 GB, free: 2.484 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.274, allocations: 11.98 kB / 1.486 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.274, allocations: 15.97 kB / 1.486 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/1.274, allocations: 60.83 kB / 1.486 GB, free: 2.395 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/1.274, allocations: 103.8 kB / 1.486 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/1.276, allocations: 1.853 MB / 1.488 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/1.277, allocations: 31.78 kB / 1.488 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.277, allocations: 27.94 kB / 1.488 GB, free: 256 kB / 1.17 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.001126/1.278, allocations: 0.798 MB / 1.489 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/1.278, allocations: 242.4 kB / 1.489 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/1.279, allocations: 255.6 kB / 1.489 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.279, allocations: 4.094 kB / 1.489 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.279, allocations: 0 / 1.489 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007126/1.28, allocations: 0.6055 MB / 1.49 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/1.282, allocations: 2.05 MB / 1.492 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/1.282, allocations: 4 kB / 1.492 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/1.283, allocations: 63.91 kB / 1.492 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/1.283, allocations: 60.94 kB / 1.492 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.283, allocations: 8 kB / 1.492 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/1.285, allocations: 1.858 MB / 1.494 GB, free: 9.984 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.285, allocations: 7.938 kB / 1.494 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/1.286, allocations: 0.9281 MB / 1.495 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/1.286, allocations: 427.4 kB / 1.495 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.287, allocations: 8 kB / 1.495 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/1.287, allocations: 15.98 kB / 1.495 GB, free: 8.527 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/1.287, allocations: 31.84 kB / 1.495 GB, free: 8.496 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/1.287, allocations: 16 kB / 1.495 GB, free: 8.48 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002825/1.29, allocations: 2.087 MB / 1.497 GB, free: 6.391 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.2e-07/1.29, allocations: 0 / 1.497 GB, free: 6.391 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009615/1.291, allocations: 300 kB / 1.498 GB, free: 6.098 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.0004358/1.291, allocations: 173.8 kB / 1.498 GB, free: 5.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009741/1.292, allocations: 0.5257 MB / 1.498 GB, free: 5.391 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.292, allocations: 3.938 kB / 1.498 GB, free: 5.387 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/1.293, allocations: 306.2 kB / 1.499 GB, free: 5.078 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/1.296, allocations: 0.9374 MB / 1.5 GB, free: 4.156 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/1.302, allocations: 4.011 MB / 1.503 GB, free: 60 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.304, allocations: 1.82 MB / 1.505 GB, free: 14.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.304, allocations: 107.4 kB / 1.505 GB, free: 14.1 MB / 1.201 GB Notification: Performance of SimCode: time 7.51e-07/1.304, allocations: 0 / 1.505 GB, free: 14.1 MB / 1.201 GB Notification: Performance of Templates: time 0.05863/1.363, allocations: 43.26 MB / 1.548 GB, free: 3.02 MB / 1.232 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 18.274543169885874]