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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.218/2.218, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5203/0.5215, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1847/0.7063, allocations: 179.3 MB / 1.125 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.7215, allocations: 10.98 MB / 1.136 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.724, allocations: 83.56 kB / 1.136 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.7292, allocations: 2.005 MB / 1.138 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.7335, allocations: 1.611 MB / 1.139 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7358, allocations: 0.7821 MB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004077/0.7399, allocations: 3.121 MB / 1.143 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.7417, allocations: 1.312 MB / 1.144 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.7433, allocations: 1.104 MB / 1.145 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.7453, allocations: 1.12 MB / 1.146 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.7457, allocations: 128 kB / 1.147 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.7477, allocations: 0.916 MB / 1.147 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000544/0.7482, allocations: 482 kB / 1.148 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.7495, allocations: 1.092 MB / 1.149 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.7532, allocations: 3.212 MB / 1.152 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7532, allocations: 0 / 1.152 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7533, allocations: 4 kB / 1.152 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.496e-05/0.7534, allocations: 0 / 1.152 GB, free: 1.871 MB / 0.9044 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.004278/0.7576, allocations: 2.755 MB / 1.155 GB, free: 15.05 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7577, allocations: 8.031 kB / 1.155 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.7579, allocations: 130.6 kB / 1.155 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.7593, allocations: 372.5 kB / 1.155 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.7621, allocations: 1.888 MB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.7621, allocations: 58 kB / 1.157 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.7623, allocations: 80 kB / 1.157 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.7636, allocations: 0.9446 MB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.7636, allocations: 0 / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.7637, allocations: 32 kB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.7637, allocations: 28.94 kB / 1.158 GB, free: 11.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.7648, allocations: 0.6985 MB / 1.159 GB, free: 10.7 MB / 0.92 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.005266/0.77, allocations: 4.503 MB / 1.163 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.7705, allocations: 316.1 kB / 1.164 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.7708, allocations: 178.2 kB / 1.164 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.7709, allocations: 101.1 kB / 1.164 GB, free: 5.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.771, allocations: 34.5 kB / 1.164 GB, free: 5.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.771, allocations: 0 / 1.164 GB, free: 5.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002839/0.7738, allocations: 1.713 MB / 1.166 GB, free: 3.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.7739, allocations: 55.41 kB / 1.166 GB, free: 3.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.7775, allocations: 2.969 MB / 1.169 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.7776, allocations: 33.7 kB / 1.169 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008862/0.7785, allocations: 1.058 MB / 1.17 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.839e-05/0.7786, allocations: 118.3 kB / 1.17 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.7787, allocations: 106.1 kB / 1.17 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.7788, allocations: 322 kB / 1.17 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.7791, allocations: 173 kB / 1.17 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.7794, allocations: 358.9 kB / 1.171 GB, free: 14.23 MB / 0.9356 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.001992/0.7814, allocations: 1.099 MB / 1.172 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7814, allocations: 0 / 1.172 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001104/0.7825, allocations: 0.7881 MB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7826, allocations: 8 kB / 1.172 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7826, allocations: 4 kB / 1.172 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.7828, allocations: 69.28 kB / 1.173 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.7831, allocations: 103.8 kB / 1.173 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.7846, allocations: 1.862 MB / 1.174 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007464/0.7853, allocations: 35.77 kB / 1.174 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.7854, allocations: 24 kB / 1.174 GB, free: 9.988 MB / 0.9356 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.000893/0.7863, allocations: 0.7919 MB / 1.175 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/0.7866, allocations: 244.9 kB / 1.175 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.7869, allocations: 255.6 kB / 1.176 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7869, allocations: 4 kB / 1.176 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7869, allocations: 4 kB / 1.176 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006187/0.7875, allocations: 0.6009 MB / 1.176 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.7903, allocations: 2.048 MB / 1.178 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7903, allocations: 4 kB / 1.178 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.7906, allocations: 67.91 kB / 1.178 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.7908, allocations: 56.77 kB / 1.178 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.7908, allocations: 12 kB / 1.178 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.7921, allocations: 1.861 MB / 1.18 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7922, allocations: 8.094 kB / 1.18 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.7932, allocations: 0.9219 MB / 1.181 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/0.7938, allocations: 418 kB / 1.182 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.794, allocations: 15.98 kB / 1.182 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.7946, allocations: 12 kB / 1.182 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7947, allocations: 31.84 kB / 1.182 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.7947, allocations: 19.98 kB / 1.182 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002674/0.7974, allocations: 2.099 MB / 1.184 GB, free: 116 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7974, allocations: 4 kB / 1.184 GB, free: 112 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009806/0.7984, allocations: 304 kB / 1.184 GB, free: 15.81 MB / 0.9512 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.001605/0.8, allocations: 1.538 MB / 1.186 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008613/0.8009, allocations: 0.5439 MB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.8009, allocations: 4 kB / 1.186 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.8013, allocations: 303.6 kB / 1.186 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.8047, allocations: 0.9392 MB / 1.187 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.8284, allocations: 19.61 MB / 1.206 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.8301, allocations: 1.961 MB / 1.208 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00106/0.8312, allocations: 338.5 kB / 1.209 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008645/0.832, allocations: 0.7922 MB / 1.209 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.832, allocations: 0 / 1.209 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4355/1.268, allocations: 50.68 MB / 1.259 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.768/11.04, allocations: 6.766 kB / 1.259 GB, free: 276.2 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/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