Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004361/0.004361, allocations: 101 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 201.3 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.17 kB / 0.951 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.224, allocations: 140.4 MB / 1.088 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6867/0.9108, allocations: 179.3 MB / 1.263 GB, free: 3.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.9239, allocations: 10.97 MB / 1.274 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.926, allocations: 95.97 kB / 1.274 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.9311, allocations: 2.016 MB / 1.276 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.935, allocations: 1.663 MB / 1.277 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.937, allocations: 0.8033 MB / 1.278 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004859/0.9419, allocations: 3.14 MB / 1.281 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.9437, allocations: 1.311 MB / 1.283 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.9457, allocations: 1.158 MB / 1.284 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.9477, allocations: 1.113 MB / 1.285 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.948, allocations: 127.7 kB / 1.285 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.9501, allocations: 0.9255 MB / 1.286 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.9505, allocations: 481.7 kB / 1.286 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.9516, allocations: 1.093 MB / 1.287 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.9555, allocations: 3.466 MB / 1.291 GB, free: 2.203 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9556, allocations: 1.438 kB / 1.291 GB, free: 2.203 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9556, allocations: 0.9688 kB / 1.291 GB, free: 2.203 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.784e-05/0.9556, allocations: 0.8438 kB / 1.291 GB, free: 2.203 MB / 1.014 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.003847/0.9595, allocations: 2.898 MB / 1.294 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.9595, allocations: 9.844 kB / 1.294 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.9608, allocations: 381.2 kB / 1.294 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/0.9639, allocations: 2.043 MB / 1.296 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.964, allocations: 57.41 kB / 1.296 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9641, allocations: 76.28 kB / 1.296 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.9655, allocations: 0.9399 MB / 1.297 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.9655, allocations: 4.469 kB / 1.297 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.9656, allocations: 37.61 kB / 1.297 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.9656, allocations: 24.2 kB / 1.297 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009845/0.9666, allocations: 0.698 MB / 1.298 GB, free: 15.76 MB / 1.029 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.005206/0.9718, allocations: 4.468 MB / 1.302 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.9723, allocations: 309.4 kB / 1.302 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.9725, allocations: 179.3 kB / 1.303 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.9727, allocations: 93.8 kB / 1.303 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.9727, allocations: 37.59 kB / 1.303 GB, free: 13.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.9727, allocations: 0 / 1.303 GB, free: 13.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.002748/0.9755, allocations: 1.755 MB / 1.304 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.9755, allocations: 55.59 kB / 1.304 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.9787, allocations: 2.953 MB / 1.307 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.9788, allocations: 31.39 kB / 1.307 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/0.9795, allocations: 1.061 MB / 1.308 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9796, allocations: 127.8 kB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9798, allocations: 113.5 kB / 1.309 GB, free: 12.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.9799, allocations: 325.7 kB / 1.309 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.9801, allocations: 167.1 kB / 1.309 GB, free: 11.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.9804, allocations: 372.5 kB / 1.309 GB, free: 11.59 MB / 1.029 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.001848/0.9823, allocations: 1.08 MB / 1.311 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9823, allocations: 2.219 kB / 1.311 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001101/0.9834, allocations: 0.809 MB / 1.311 GB, free: 11.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9834, allocations: 7.188 kB / 1.311 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9835, allocations: 12.03 kB / 1.311 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.9836, allocations: 61.34 kB / 1.311 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.984, allocations: 99.7 kB / 1.312 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.9853, allocations: 1.863 MB / 1.313 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/0.9863, allocations: 27.66 kB / 1.313 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.9863, allocations: 22.88 kB / 1.313 GB, free: 9.578 MB / 1.029 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.0009579/0.9873, allocations: 0.7897 MB / 1.314 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.9876, allocations: 250.1 kB / 1.314 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.9879, allocations: 255.9 kB / 1.315 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9879, allocations: 3.469 kB / 1.315 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.9879, allocations: 1.062 kB / 1.315 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006712/0.9886, allocations: 0.6019 MB / 1.315 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.9913, allocations: 2.04 MB / 1.317 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9913, allocations: 3.625 kB / 1.317 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.9916, allocations: 67.84 kB / 1.317 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.9918, allocations: 62.45 kB / 1.317 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.9918, allocations: 18.81 kB / 1.317 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.9932, allocations: 1.855 MB / 1.319 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.9932, allocations: 8.594 kB / 1.319 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.9943, allocations: 0.9406 MB / 1.32 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/0.995, allocations: 415 kB / 1.32 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.9953, allocations: 14.78 kB / 1.321 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.9958, allocations: 13.44 kB / 1.321 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.9959, allocations: 33.59 kB / 1.321 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.9959, allocations: 14.62 kB / 1.321 GB, free: 6.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002412/0.9983, allocations: 2.086 MB / 1.323 GB, free: 6.188 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9983, allocations: 0 / 1.323 GB, free: 6.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009746/0.9993, allocations: 302.1 kB / 1.323 GB, free: 6.188 MB / 1.029 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.0003607/0.9997, allocations: 176.3 kB / 1.323 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007913/1, allocations: 0.5387 MB / 1.324 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.001, allocations: 0 / 1.324 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/1.001, allocations: 300.2 kB / 1.324 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.004, allocations: 0.9481 MB / 1.325 GB, free: 5.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/1.01, allocations: 4.207 MB / 1.329 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.011, allocations: 1.963 MB / 1.331 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009786/1.012, allocations: 338.1 kB / 1.331 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/1.012, allocations: 102.3 kB / 1.331 GB, free: 3.332 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/1.012, allocations: 0 / 1.331 GB, free: 3.332 MB / 1.029 GB Notification: Performance of Templates: time 0.04079/1.053, allocations: 29.91 MB / 1.36 GB, free: 9.656 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches