Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004931/0.004931, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001182/0.001182, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.189/1.189, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.169/2.169, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 67.91 kB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6358, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.161/0.7969, allocations: 179.3 MB / 1.342 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.8114, allocations: 10.97 MB / 1.353 GB, free: 4.824 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.8136, allocations: 87.5 kB / 1.353 GB, free: 4.738 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.8187, allocations: 2.001 MB / 1.355 GB, free: 2.727 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.8228, allocations: 1.612 MB / 1.356 GB, free: 1.105 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.8249, allocations: 0.7884 MB / 1.357 GB, free: 328 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003898/0.8288, allocations: 3.146 MB / 1.36 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.8305, allocations: 1.309 MB / 1.361 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001625/0.8322, allocations: 1.116 MB / 1.362 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.8341, allocations: 1.115 MB / 1.363 GB, free: 9.594 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.8345, allocations: 124 kB / 1.364 GB, free: 9.473 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.8363, allocations: 0.916 MB / 1.364 GB, free: 8.555 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004286/0.8367, allocations: 478 kB / 1.365 GB, free: 8.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.8377, allocations: 1.091 MB / 1.366 GB, free: 6.988 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.8411, allocations: 3.475 MB / 1.369 GB, free: 3.5 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8411, allocations: 0 / 1.369 GB, free: 3.5 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8412, allocations: 0 / 1.369 GB, free: 3.5 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.8412, allocations: 3.938 kB / 1.369 GB, free: 3.496 MB / 1.092 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.003223/0.8444, allocations: 2.89 MB / 1.372 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8445, allocations: 12.91 kB / 1.372 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.8457, allocations: 390 kB / 1.373 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.8483, allocations: 2.039 MB / 1.375 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.8483, allocations: 58 kB / 1.375 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.8484, allocations: 72 kB / 1.375 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.8497, allocations: 0.9407 MB / 1.376 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.8497, allocations: 3.938 kB / 1.376 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.8498, allocations: 32 kB / 1.376 GB, free: 12.9 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.8498, allocations: 28.94 kB / 1.376 GB, free: 12.87 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.8508, allocations: 0.7025 MB / 1.376 GB, free: 12.17 MB / 1.107 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.0048/0.8556, allocations: 4.453 MB / 1.381 GB, free: 7.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.8561, allocations: 310.6 kB / 1.381 GB, free: 7.188 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.8563, allocations: 195.1 kB / 1.381 GB, free: 6.996 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.8565, allocations: 93.09 kB / 1.381 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.8565, allocations: 43.06 kB / 1.381 GB, free: 6.836 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.8565, allocations: 0 / 1.381 GB, free: 6.836 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.002617/0.8592, allocations: 1.742 MB / 1.383 GB, free: 5.016 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.8592, allocations: 55.41 kB / 1.383 GB, free: 4.949 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.8623, allocations: 2.949 MB / 1.386 GB, free: 1.984 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.8624, allocations: 29.7 kB / 1.386 GB, free: 1.949 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007977/0.8632, allocations: 1.067 MB / 1.387 GB, free: 0.875 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.8633, allocations: 126.9 kB / 1.387 GB, free: 0.75 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.8634, allocations: 114.2 kB / 1.387 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.8635, allocations: 330 kB / 1.388 GB, free: 312 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.8637, allocations: 161 kB / 1.388 GB, free: 148 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.8641, allocations: 374.3 kB / 1.388 GB, free: 15.7 MB / 1.123 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.001876/0.866, allocations: 1.074 MB / 1.389 GB, free: 14.52 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.866, allocations: 3.938 kB / 1.389 GB, free: 14.52 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001107/0.8671, allocations: 0.8132 MB / 1.39 GB, free: 13.69 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8671, allocations: 8 kB / 1.39 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8672, allocations: 8.688 kB / 1.39 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/0.8673, allocations: 60.81 kB / 1.39 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.8676, allocations: 99.84 kB / 1.39 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.869, allocations: 1.865 MB / 1.392 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.8698, allocations: 23.95 kB / 1.392 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.8698, allocations: 31.92 kB / 1.392 GB, free: 11.46 MB / 1.123 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.0009138/0.8707, allocations: 0.7952 MB / 1.393 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.8709, allocations: 250.3 kB / 1.393 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.8712, allocations: 255.7 kB / 1.393 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8713, allocations: 4 kB / 1.393 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8713, allocations: 0 / 1.393 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005983/0.8719, allocations: 0.6016 MB / 1.394 GB, free: 9.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.8743, allocations: 2.046 MB / 1.396 GB, free: 7.328 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.8743, allocations: 4 kB / 1.396 GB, free: 7.324 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.8746, allocations: 59.91 kB / 1.396 GB, free: 7.266 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001348/0.8747, allocations: 60.91 kB / 1.396 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.8747, allocations: 8 kB / 1.396 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.876, allocations: 1.865 MB / 1.398 GB, free: 5.191 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.876, allocations: 7.938 kB / 1.398 GB, free: 5.184 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009774/0.877, allocations: 0.9355 MB / 1.399 GB, free: 4.188 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.8775, allocations: 423.4 kB / 1.399 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.8777, allocations: 16.06 kB / 1.399 GB, free: 3.738 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.8782, allocations: 15.98 kB / 1.399 GB, free: 3.723 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.8783, allocations: 35.78 kB / 1.399 GB, free: 3.688 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.8783, allocations: 16 kB / 1.399 GB, free: 3.672 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002312/0.8806, allocations: 2.083 MB / 1.401 GB, free: 1.586 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.8806, allocations: 0 / 1.401 GB, free: 1.586 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008029/0.8814, allocations: 308 kB / 1.401 GB, free: 1.285 MB / 1.123 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.0003248/0.8818, allocations: 168.6 kB / 1.402 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007415/0.8825, allocations: 0.5225 MB / 1.402 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8825, allocations: 0 / 1.402 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.8829, allocations: 305.9 kB / 1.402 GB, free: 284 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/0.8859, allocations: 0.9456 MB / 1.403 GB, free: 15.35 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.8905, allocations: 4.22 MB / 1.407 GB, free: 11.05 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.8918, allocations: 1.949 MB / 1.409 GB, free: 9.066 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007536/0.8926, allocations: 334.9 kB / 1.41 GB, free: 8.734 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.8927, allocations: 103.4 kB / 1.41 GB, free: 8.633 MB / 1.139 GB Notification: Performance of SimCode: time 3.71e-07/0.8927, allocations: 0 / 1.41 GB, free: 8.633 MB / 1.139 GB Notification: Performance of Templates: time 0.042/0.9347, allocations: 29.9 MB / 1.439 GB, free: 11.17 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches