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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.005071/0.005071, allocations: 102 kB / 15.73 MB, free: 6.062 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.001506/0.001506, allocations: 192 kB / 16.67 MB, free: 5.973 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.67 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2763, allocations: 162.2 MB / 1.242 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.203/0.4794, allocations: 179.3 MB / 1.417 GB, free: 5.184 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.4955, allocations: 10.99 MB / 1.427 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.4969, allocations: 87.5 kB / 1.427 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00453/0.5015, allocations: 1.993 MB / 1.429 GB, free: 8.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.5048, allocations: 1.628 MB / 1.431 GB, free: 6.434 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.5065, allocations: 0.7824 MB / 1.432 GB, free: 5.656 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.51, allocations: 3.153 MB / 1.435 GB, free: 2.488 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.5116, allocations: 1.316 MB / 1.436 GB, free: 1.141 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.5133, allocations: 1.233 MB / 1.437 GB, free: 15.9 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.5152, allocations: 1.103 MB / 1.438 GB, free: 14.8 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.5154, allocations: 132 kB / 1.439 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.5171, allocations: 0.9083 MB / 1.439 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.5176, allocations: 482 kB / 1.44 GB, free: 13.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.5187, allocations: 1.095 MB / 1.441 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003836/0.5226, allocations: 3.479 MB / 1.444 GB, free: 8.695 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5226, allocations: 0 / 1.444 GB, free: 8.695 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5226, allocations: 3.938 kB / 1.444 GB, free: 8.691 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.5226, allocations: 0 / 1.444 GB, free: 8.691 MB / 1.17 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.003944/0.5266, allocations: 2.89 MB / 1.447 GB, free: 5.73 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5266, allocations: 8.031 kB / 1.447 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.5268, allocations: 126.7 kB / 1.447 GB, free: 5.59 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.5282, allocations: 390 kB / 1.448 GB, free: 5.207 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.5313, allocations: 2.047 MB / 1.45 GB, free: 3.098 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.5314, allocations: 58 kB / 1.45 GB, free: 3.039 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5315, allocations: 72 kB / 1.45 GB, free: 2.969 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.533, allocations: 0.9407 MB / 1.451 GB, free: 1.988 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.5331, allocations: 3.938 kB / 1.451 GB, free: 1.984 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.5331, allocations: 32 kB / 1.451 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.297e-05/0.5332, allocations: 28.94 kB / 1.451 GB, free: 1.926 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.5344, allocations: 0.6908 MB / 1.451 GB, free: 1.234 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.005742/0.5402, allocations: 4.461 MB / 1.456 GB, free: 12.56 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.5407, allocations: 314.7 kB / 1.456 GB, free: 12.24 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.541, allocations: 186.8 kB / 1.456 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.5412, allocations: 101.2 kB / 1.456 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5412, allocations: 34.56 kB / 1.456 GB, free: 11.9 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.5412, allocations: 0 / 1.456 GB, free: 11.9 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.002993/0.5442, allocations: 1.746 MB / 1.458 GB, free: 10.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.5443, allocations: 55.41 kB / 1.458 GB, free: 10 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.5482, allocations: 2.953 MB / 1.461 GB, free: 7.035 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5483, allocations: 33.7 kB / 1.461 GB, free: 6.996 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.5494, allocations: 1.059 MB / 1.462 GB, free: 5.93 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.5495, allocations: 126.9 kB / 1.462 GB, free: 5.805 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.5497, allocations: 110.2 kB / 1.462 GB, free: 5.691 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5498, allocations: 329.9 kB / 1.463 GB, free: 5.363 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.5501, allocations: 165 kB / 1.463 GB, free: 5.203 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.5506, allocations: 370.3 kB / 1.463 GB, free: 4.754 MB / 1.186 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.002301/0.5529, allocations: 1.081 MB / 1.464 GB, free: 3.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5529, allocations: 4 kB / 1.464 GB, free: 3.566 MB / 1.186 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001232/0.5542, allocations: 0.8056 MB / 1.465 GB, free: 2.75 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5542, allocations: 8 kB / 1.465 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5542, allocations: 8 kB / 1.465 GB, free: 2.734 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.5544, allocations: 56.83 kB / 1.465 GB, free: 2.676 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.5548, allocations: 108.3 kB / 1.465 GB, free: 2.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.5566, allocations: 1.861 MB / 1.467 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000686/0.5573, allocations: 32.02 kB / 1.467 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.5573, allocations: 24 kB / 1.467 GB, free: 0.5195 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.001016/0.5583, allocations: 0.7939 MB / 1.468 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.5586, allocations: 246.4 kB / 1.468 GB, free: 15.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.559, allocations: 259.7 kB / 1.468 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.559, allocations: 4.094 kB / 1.468 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.559, allocations: 3.984 kB / 1.468 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007617/0.5598, allocations: 0.6009 MB / 1.469 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.5629, allocations: 2.036 MB / 1.471 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5629, allocations: 8.031 kB / 1.471 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.5632, allocations: 63.91 kB / 1.471 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.5634, allocations: 60.81 kB / 1.471 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.5634, allocations: 8 kB / 1.471 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.5651, allocations: 1.861 MB / 1.473 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5652, allocations: 7.938 kB / 1.473 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5664, allocations: 0.9335 MB / 1.474 GB, free: 9.254 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.567, allocations: 419.3 kB / 1.474 GB, free: 8.824 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5672, allocations: 8 kB / 1.474 GB, free: 8.816 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.5678, allocations: 18.22 kB / 1.474 GB, free: 8.801 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.5679, allocations: 35.91 kB / 1.474 GB, free: 8.766 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.5679, allocations: 16 kB / 1.474 GB, free: 8.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002896/0.5708, allocations: 2.087 MB / 1.476 GB, free: 6.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5708, allocations: 3.938 kB / 1.476 GB, free: 6.656 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008971/0.5717, allocations: 299.9 kB / 1.477 GB, free: 6.363 MB / 1.201 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.001885/0.5736, allocations: 1.57 MB / 1.478 GB, free: 4.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008831/0.5745, allocations: 0.5237 MB / 1.479 GB, free: 4.195 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5745, allocations: 4 kB / 1.479 GB, free: 4.191 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.575, allocations: 302.3 kB / 1.479 GB, free: 3.883 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/0.5785, allocations: 0.9415 MB / 1.48 GB, free: 2.969 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/0.602, allocations: 17.16 MB / 1.497 GB, free: 1.383 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.6038, allocations: 1.957 MB / 1.499 GB, free: 15.39 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008891/0.6047, allocations: 346.8 kB / 1.499 GB, free: 15.05 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.6058, allocations: 0.8039 MB / 1.5 GB, free: 14.24 MB / 1.232 GB Notification: Performance of SimCode: time 3.4e-07/0.6058, allocations: 0 / 1.5 GB, free: 14.24 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5773/1.183, allocations: 51.2 MB / 1.55 GB, free: 293.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.3, allocations: 9.906 kB / 1.55 GB, free: 293.7 MB / 1.264 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/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