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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: 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_9_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_9_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.001569/0.00157, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001786/0.001786, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.36 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2318, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6132/0.8451, allocations: 179.3 MB / 1.126 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.8604, allocations: 10.98 MB / 1.137 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00346/0.8639, allocations: 84.53 kB / 1.137 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.8697, allocations: 1.994 MB / 1.139 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.8747, allocations: 1.628 MB / 1.141 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.877, allocations: 0.7838 MB / 1.141 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004335/0.8814, allocations: 3.147 MB / 1.144 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.8832, allocations: 1.307 MB / 1.146 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.8854, allocations: 1.105 MB / 1.147 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.8872, allocations: 1.108 MB / 1.148 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.8875, allocations: 127.7 kB / 1.148 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.8895, allocations: 0.9171 MB / 1.149 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.89, allocations: 479.5 kB / 1.149 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.8913, allocations: 1.095 MB / 1.15 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003761/0.8951, allocations: 3.234 MB / 1.153 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8951, allocations: 7.938 kB / 1.154 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8951, allocations: 1.094 kB / 1.154 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.8952, allocations: 4 kB / 1.154 GB, free: 14.38 MB / 0.8731 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.004496/0.8997, allocations: 2.733 MB / 1.156 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.8997, allocations: 8.688 kB / 1.156 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.9012, allocations: 381.4 kB / 1.157 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/0.9048, allocations: 2.001 MB / 1.159 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.9048, allocations: 57.53 kB / 1.159 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.905, allocations: 74.22 kB / 1.159 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.9065, allocations: 0.9473 MB / 1.16 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.9065, allocations: 1.188 kB / 1.16 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.9066, allocations: 36.3 kB / 1.16 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.9066, allocations: 28.22 kB / 1.16 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.9077, allocations: 0.7117 MB / 1.16 GB, free: 10.75 MB / 0.8731 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.006136/0.9139, allocations: 4.44 MB / 1.165 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.9144, allocations: 312.6 kB / 1.165 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.9146, allocations: 185.1 kB / 1.165 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.9148, allocations: 95.42 kB / 1.165 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9149, allocations: 41.31 kB / 1.165 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.9149, allocations: 0 / 1.165 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.003068/0.9179, allocations: 1.714 MB / 1.167 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.918, allocations: 54.03 kB / 1.167 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003495/0.9215, allocations: 2.95 MB / 1.17 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.9216, allocations: 32.67 kB / 1.17 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009219/0.9225, allocations: 1.056 MB / 1.171 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.9226, allocations: 116.1 kB / 1.171 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.9228, allocations: 111.4 kB / 1.171 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9229, allocations: 331.5 kB / 1.171 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.9232, allocations: 162.2 kB / 1.172 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.9235, allocations: 364.7 kB / 1.172 GB, free: 3.496 MB / 0.8731 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.002099/0.9257, allocations: 1.081 MB / 1.173 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.9257, allocations: 2.781 kB / 1.173 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001206/0.9269, allocations: 0.7979 MB / 1.174 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9269, allocations: 8.75 kB / 1.174 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9269, allocations: 5.375 kB / 1.174 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.9271, allocations: 62.55 kB / 1.174 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.9275, allocations: 103.1 kB / 1.174 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.929, allocations: 1.867 MB / 1.176 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.93, allocations: 32.16 kB / 1.176 GB, free: 444 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.9301, allocations: 25.56 kB / 1.176 GB, free: 440 kB / 0.8731 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.001121/0.9312, allocations: 0.7997 MB / 1.177 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.9315, allocations: 235.3 kB / 1.177 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.9318, allocations: 256.1 kB / 1.177 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.9318, allocations: 2.531 kB / 1.177 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9318, allocations: 0 / 1.177 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006466/0.9325, allocations: 0.6048 MB / 1.178 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.9356, allocations: 2.043 MB / 1.18 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9356, allocations: 2.719 kB / 1.18 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.9359, allocations: 65.91 kB / 1.18 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.9361, allocations: 58.72 kB / 1.18 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9361, allocations: 11.62 kB / 1.18 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.9376, allocations: 1.866 MB / 1.182 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.9376, allocations: 8.969 kB / 1.182 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.9387, allocations: 0.9193 MB / 1.183 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008957/0.9396, allocations: 414.3 kB / 1.183 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.9398, allocations: 9.469 kB / 1.183 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.9404, allocations: 16.23 kB / 1.183 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.9405, allocations: 29.44 kB / 1.183 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.9405, allocations: 14.03 kB / 1.183 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00257/0.9431, allocations: 2.086 MB / 1.185 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9431, allocations: 6.281 kB / 1.185 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009801/0.9441, allocations: 296.4 kB / 1.185 GB, free: 9.781 MB / 0.8887 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.0004079/0.9445, allocations: 171.3 kB / 1.185 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008283/0.9454, allocations: 0.5365 MB / 1.186 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9454, allocations: 2.281 kB / 1.186 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.9458, allocations: 304.5 kB / 1.186 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/0.9493, allocations: 0.9515 MB / 1.187 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.9549, allocations: 4.121 MB / 1.191 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.9564, allocations: 1.964 MB / 1.193 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001061/0.9575, allocations: 347.9 kB / 1.194 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.9577, allocations: 103.5 kB / 1.194 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of SimCode: time 7.92e-07/0.9577, allocations: 0 / 1.194 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of Templates: time 0.04905/1.007, allocations: 29.68 MB / 1.223 GB, free: 15.29 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (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 & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/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