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) 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 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_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.001445/0.001445, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001414/0.001414, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.602/2.602, allocations: 482.3 MB / 0.7542 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 72.11 kB / 0.9232 GB, free: 29.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2831, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6368/0.9199, allocations: 176.9 MB / 1.254 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.932, allocations: 10.84 MB / 1.265 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.9339, allocations: 74.59 kB / 1.265 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.9386, allocations: 1.881 MB / 1.267 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.9423, allocations: 1.474 MB / 1.268 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.9441, allocations: 0.7244 MB / 1.269 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003248/0.9474, allocations: 3.164 MB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.9488, allocations: 1.303 MB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.9507, allocations: 1.255 MB / 1.275 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.9527, allocations: 1.147 MB / 1.276 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.9529, allocations: 126.7 kB / 1.276 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.9545, allocations: 0.9528 MB / 1.277 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.9549, allocations: 485.3 kB / 1.277 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008604/0.9558, allocations: 1.098 MB / 1.278 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.9589, allocations: 3.272 MB / 1.281 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.9589, allocations: 0.9688 kB / 1.281 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9589, allocations: 1.312 kB / 1.281 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.959, allocations: 0 / 1.281 GB, free: 6.059 MB / 0.9981 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.003969/0.9629, allocations: 2.756 MB / 1.284 GB, free: 20.63 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.963, allocations: 9.875 kB / 1.284 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.9642, allocations: 374.2 kB / 1.285 GB, free: 20.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.9668, allocations: 1.894 MB / 1.286 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.9668, allocations: 58.25 kB / 1.286 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.9669, allocations: 75.25 kB / 1.286 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.9683, allocations: 0.9379 MB / 1.287 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.9683, allocations: 5.578 kB / 1.287 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.9684, allocations: 36.73 kB / 1.287 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.9684, allocations: 28.39 kB / 1.287 GB, free: 19.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009661/0.9694, allocations: 0.6965 MB / 1.288 GB, free: 19.73 MB / 1.014 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.005148/0.9745, allocations: 4.489 MB / 1.293 GB, free: 17.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.975, allocations: 312.5 kB / 1.293 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.9752, allocations: 184.2 kB / 1.293 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.9754, allocations: 100.2 kB / 1.293 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.9754, allocations: 33.88 kB / 1.293 GB, free: 17.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.9754, allocations: 0 / 1.293 GB, free: 17.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002569/0.978, allocations: 1.708 MB / 1.295 GB, free: 16.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.978, allocations: 55.78 kB / 1.295 GB, free: 16.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.9812, allocations: 2.976 MB / 1.298 GB, free: 16.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.9813, allocations: 34.98 kB / 1.298 GB, free: 16.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.982, allocations: 1.053 MB / 1.299 GB, free: 16.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.9821, allocations: 120.1 kB / 1.299 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.9822, allocations: 111.8 kB / 1.299 GB, free: 16.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9824, allocations: 332 kB / 1.299 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.9826, allocations: 163.8 kB / 1.3 GB, free: 15.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.9829, allocations: 372.6 kB / 1.3 GB, free: 15.61 MB / 1.014 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.001762/0.9846, allocations: 1.082 MB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9847, allocations: 2.25 kB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009845/0.9856, allocations: 0.7917 MB / 1.302 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9857, allocations: 9 kB / 1.302 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9857, allocations: 6.281 kB / 1.302 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.9859, allocations: 66.92 kB / 1.302 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.9862, allocations: 99.47 kB / 1.302 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.9877, allocations: 1.867 MB / 1.304 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/0.9885, allocations: 55.28 kB / 1.304 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.9886, allocations: 24.38 kB / 1.304 GB, free: 13.61 MB / 1.014 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.0008153/0.9894, allocations: 0.7905 MB / 1.305 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.9896, allocations: 233.9 kB / 1.305 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.9899, allocations: 257.5 kB / 1.305 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9899, allocations: 3.781 kB / 1.305 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.99, allocations: 1 kB / 1.305 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000636/0.9906, allocations: 0.5992 MB / 1.306 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.9932, allocations: 2.054 MB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9932, allocations: 3.438 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.9935, allocations: 62.5 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.9937, allocations: 59.8 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.9937, allocations: 12.03 kB / 1.308 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.995, allocations: 1.862 MB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.995, allocations: 4.094 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.996, allocations: 0.9284 MB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.9965, allocations: 417.1 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.9967, allocations: 12.91 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.9973, allocations: 28.72 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.9974, allocations: 27.16 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.9974, allocations: 18.91 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002452/0.9999, allocations: 2.101 MB / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9999, allocations: 2.219 kB / 1.313 GB, free: 10.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009368/1.001, allocations: 301.6 kB / 1.313 GB, free: 10.25 MB / 1.014 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.000368/1.001, allocations: 183.9 kB / 1.313 GB, free: 10.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007545/1.002, allocations: 0.5469 MB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/1.002, allocations: 2.375 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/1.002, allocations: 298.4 kB / 1.314 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.005, allocations: 0.9565 MB / 1.315 GB, free: 9.789 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/1.01, allocations: 4.77 MB / 1.32 GB, free: 7.684 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.011, allocations: 1.956 MB / 1.322 GB, free: 6.914 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001037/1.012, allocations: 397.4 kB / 1.322 GB, free: 6.836 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.013, allocations: 119 kB / 1.322 GB, free: 6.832 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.013, allocations: 0 / 1.322 GB, free: 6.832 MB / 1.014 GB Notification: Performance of Templates: time 0.04457/1.057, allocations: 30.27 MB / 1.352 GB, free: 13.54 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) 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) Reference file matches