Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8519/0.8519, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.678/1.678, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.9811 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.32e-05, allocations: 2.281 kB / 0.9811 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5177/0.5177, allocations: 157.9 MB / 1.135 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.528, allocations: 10.16 MB / 1.145 GB, free: 236 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009618/0.5289, allocations: 127.6 kB / 1.145 GB, free: 172 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.5317, allocations: 1.91 MB / 1.147 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.5338, allocations: 1.731 MB / 1.149 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.5348, allocations: 0.8162 MB / 1.15 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.5367, allocations: 3.271 MB / 1.153 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.5375, allocations: 0.9565 MB / 1.154 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5389, allocations: 1.747 MB / 1.155 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.5399, allocations: 0.9587 MB / 1.156 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5401, allocations: 127.6 kB / 1.157 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008843/0.5409, allocations: 0.7882 MB / 1.157 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.5412, allocations: 0.5032 MB / 1.158 GB, free: 7.875 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004343/0.5417, allocations: 0.6382 MB / 1.158 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5438, allocations: 3.401 MB / 1.162 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5438, allocations: 0 / 1.162 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5438, allocations: 4 kB / 1.162 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.5439, allocations: 0 / 1.162 GB, free: 5.41 MB / 0.9948 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.002333/0.5462, allocations: 2.8 MB / 1.164 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5462, allocations: 14.69 kB / 1.165 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.5463, allocations: 121.5 kB / 1.165 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.5471, allocations: 386.7 kB / 1.165 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.549, allocations: 1.95 MB / 1.167 GB, free: 1.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.5491, allocations: 57.97 kB / 1.167 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.528e-05/0.5491, allocations: 74.78 kB / 1.167 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.5501, allocations: 1.037 MB / 1.168 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5501, allocations: 11.94 kB / 1.168 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.5501, allocations: 33.41 kB / 1.168 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.5502, allocations: 25.88 kB / 1.168 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.5509, allocations: 0.6985 MB / 1.169 GB, free: 68 kB / 0.9948 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.003142/0.554, allocations: 3.665 MB / 1.172 GB, free: 12.31 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.5543, allocations: 294.7 kB / 1.173 GB, free: 12.01 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.5545, allocations: 173.3 kB / 1.173 GB, free: 11.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.86e-05/0.5546, allocations: 20 kB / 1.173 GB, free: 11.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.5546, allocations: 38.5 kB / 1.173 GB, free: 11.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.393e-06/0.5546, allocations: 0 / 1.173 GB, free: 11.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.001769/0.5564, allocations: 1.589 MB / 1.174 GB, free: 10.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.5564, allocations: 59.41 kB / 1.174 GB, free: 10.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.5589, allocations: 2.957 MB / 1.177 GB, free: 7.098 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.5589, allocations: 29.7 kB / 1.177 GB, free: 7.062 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006307/0.5595, allocations: 1.071 MB / 1.178 GB, free: 5.988 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.5596, allocations: 123 kB / 1.179 GB, free: 5.867 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5597, allocations: 114.2 kB / 1.179 GB, free: 5.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.5598, allocations: 326 kB / 1.179 GB, free: 5.426 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.56, allocations: 172.6 kB / 1.179 GB, free: 5.262 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.5602, allocations: 443.5 kB / 1.18 GB, free: 4.727 MB / 1.01 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.001208/0.5614, allocations: 1.002 MB / 1.181 GB, free: 3.641 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5614, allocations: 0 / 1.181 GB, free: 3.641 MB / 1.01 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007069/0.5621, allocations: 0.813 MB / 1.181 GB, free: 2.816 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5622, allocations: 8.844 kB / 1.181 GB, free: 2.809 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5622, allocations: 8 kB / 1.181 GB, free: 2.801 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.5623, allocations: 68.75 kB / 1.181 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.5625, allocations: 95.84 kB / 1.182 GB, free: 2.637 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.5635, allocations: 1.746 MB / 1.183 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.5639, allocations: 26.67 kB / 1.183 GB, free: 0.7539 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.5639, allocations: 28 kB / 1.183 GB, free: 0.7266 MB / 1.01 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.0007541/0.5646, allocations: 0.8011 MB / 1.184 GB, free: 15.92 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5648, allocations: 246.4 kB / 1.184 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.565, allocations: 255.7 kB / 1.185 GB, free: 15.42 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.565, allocations: 4 kB / 1.185 GB, free: 15.42 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.565, allocations: 0 / 1.185 GB, free: 15.42 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004244/0.5654, allocations: 0.6008 MB / 1.185 GB, free: 14.75 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5672, allocations: 1.874 MB / 1.187 GB, free: 12.77 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5672, allocations: 4 kB / 1.187 GB, free: 12.77 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.5673, allocations: 71.84 kB / 1.187 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.5674, allocations: 57.22 kB / 1.187 GB, free: 12.64 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.5674, allocations: 16 kB / 1.187 GB, free: 12.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008821/0.5683, allocations: 1.743 MB / 1.189 GB, free: 10.77 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5683, allocations: 4.031 kB / 1.189 GB, free: 10.76 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006985/0.569, allocations: 0.9291 MB / 1.19 GB, free: 9.773 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.5694, allocations: 359.4 kB / 1.19 GB, free: 9.422 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5695, allocations: 8 kB / 1.19 GB, free: 9.414 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.5698, allocations: 15.98 kB / 1.19 GB, free: 9.398 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5699, allocations: 35.83 kB / 1.19 GB, free: 9.363 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5699, allocations: 16 kB / 1.19 GB, free: 9.348 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001835/0.5717, allocations: 2.083 MB / 1.192 GB, free: 7.262 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.5717, allocations: 0 / 1.192 GB, free: 7.262 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005685/0.5723, allocations: 300 kB / 1.192 GB, free: 6.969 MB / 1.026 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.001012/0.5733, allocations: 1.539 MB / 1.194 GB, free: 5.359 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.5738, allocations: 0.5072 MB / 1.194 GB, free: 4.84 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5738, allocations: 0 / 1.194 GB, free: 4.84 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.5741, allocations: 310.2 kB / 1.195 GB, free: 4.523 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.576, allocations: 0.9402 MB / 1.196 GB, free: 3.613 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.5918, allocations: 17.14 MB / 1.212 GB, free: 2.062 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/0.5927, allocations: 1.376 MB / 1.214 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005756/0.5933, allocations: 342.8 kB / 1.214 GB, free: 308 kB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.5939, allocations: 0.805 MB / 1.215 GB, free: 15.49 MB / 1.057 GB Notification: Performance of SimCode: time 5.31e-07/0.5939, allocations: 0 / 1.215 GB, free: 15.49 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.6502, allocations: 55.45 MB / 1.269 GB, free: 9.051 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.228, allocations: 9.844 kB / 1.269 GB, free: 9.047 MB / 1.104 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.135329596698284]