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.001231/0.001231, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.001295/0.001295, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.19 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 1.981/1.981, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 62.05 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2246, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5636/0.7882, allocations: 179.3 MB / 1.126 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.8016, allocations: 10.97 MB / 1.137 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.8041, allocations: 89.09 kB / 1.137 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.8086, allocations: 1.992 MB / 1.139 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003536/0.8122, allocations: 1.626 MB / 1.141 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.8139, allocations: 0.791 MB / 1.141 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.817, allocations: 3.143 MB / 1.144 GB, free: 128 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.8184, allocations: 1.306 MB / 1.146 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.8198, allocations: 1.108 MB / 1.147 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.8214, allocations: 1.108 MB / 1.148 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.8216, allocations: 127.5 kB / 1.148 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.8233, allocations: 0.9165 MB / 1.149 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003878/0.8237, allocations: 479.7 kB / 1.149 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009232/0.8246, allocations: 1.096 MB / 1.15 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.8276, allocations: 3.234 MB / 1.154 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8277, allocations: 1.562 kB / 1.154 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8277, allocations: 0 / 1.154 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.339e-05/0.8277, allocations: 0 / 1.154 GB, free: 14.3 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.004053/0.8318, allocations: 2.746 MB / 1.156 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.8318, allocations: 13.44 kB / 1.156 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.8332, allocations: 374.8 kB / 1.157 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.8363, allocations: 2.009 MB / 1.159 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.8364, allocations: 56.69 kB / 1.159 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.8365, allocations: 74.62 kB / 1.159 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.8379, allocations: 0.9363 MB / 1.16 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.8379, allocations: 4.812 kB / 1.16 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.838, allocations: 31.53 kB / 1.16 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.838, allocations: 26.78 kB / 1.16 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.8391, allocations: 0.7055 MB / 1.16 GB, free: 10.68 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.005791/0.8449, allocations: 4.454 MB / 1.165 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.8453, allocations: 320 kB / 1.165 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.8456, allocations: 179 kB / 1.165 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.8457, allocations: 95.38 kB / 1.165 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.8458, allocations: 35.78 kB / 1.165 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.8458, allocations: 5.188 kB / 1.165 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.002943/0.8487, allocations: 1.707 MB / 1.167 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.8488, allocations: 56.36 kB / 1.167 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.8521, allocations: 2.951 MB / 1.17 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.8522, allocations: 32.45 kB / 1.17 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/0.8531, allocations: 1.056 MB / 1.171 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.8532, allocations: 116.1 kB / 1.171 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.8534, allocations: 111.4 kB / 1.171 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8535, allocations: 331.5 kB / 1.171 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.8537, allocations: 166 kB / 1.172 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.8541, allocations: 369.2 kB / 1.172 GB, free: 3.391 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.001982/0.8561, allocations: 1.088 MB / 1.173 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8561, allocations: 0 / 1.173 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001279/0.8574, allocations: 0.7948 MB / 1.174 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8574, allocations: 7.406 kB / 1.174 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8575, allocations: 8.344 kB / 1.174 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.8577, allocations: 63.64 kB / 1.174 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.858, allocations: 102.3 kB / 1.174 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.8596, allocations: 1.866 MB / 1.176 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.8606, allocations: 30.41 kB / 1.176 GB, free: 340 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.8607, allocations: 22.94 kB / 1.176 GB, free: 336 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.001309/0.862, allocations: 0.7943 MB / 1.177 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.8623, allocations: 236.8 kB / 1.177 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.8627, allocations: 256.2 kB / 1.177 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.8627, allocations: 8.797 kB / 1.177 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8627, allocations: 0 / 1.177 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/0.8633, allocations: 0.6016 MB / 1.178 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.8664, allocations: 2.043 MB / 1.18 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8664, allocations: 2.75 kB / 1.18 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.8667, allocations: 61.94 kB / 1.18 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.8669, allocations: 58.66 kB / 1.18 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.8669, allocations: 9.375 kB / 1.18 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.8682, allocations: 1.859 MB / 1.182 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.8683, allocations: 12.52 kB / 1.182 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.8692, allocations: 0.9186 MB / 1.183 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.8701, allocations: 408 kB / 1.183 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.8703, allocations: 15.66 kB / 1.183 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.8708, allocations: 17.61 kB / 1.183 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.8709, allocations: 32.75 kB / 1.183 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.8709, allocations: 11.03 kB / 1.183 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002373/0.8733, allocations: 2.09 MB / 1.185 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8733, allocations: 0 / 1.185 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009153/0.8742, allocations: 303.1 kB / 1.185 GB, free: 9.68 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.0003464/0.8746, allocations: 175.3 kB / 1.186 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007722/0.8754, allocations: 0.5388 MB / 1.186 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8754, allocations: 0 / 1.186 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.8757, allocations: 299.5 kB / 1.186 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.8786, allocations: 0.9354 MB / 1.187 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.8837, allocations: 4.142 MB / 1.191 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.885, allocations: 1.955 MB / 1.193 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009465/0.886, allocations: 340.5 kB / 1.194 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.8861, allocations: 102.6 kB / 1.194 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.8862, allocations: 2.438 kB / 1.194 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of Templates: time 0.04591/0.9321, allocations: 29.69 MB / 1.223 GB, free: 15.16 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 cvode -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