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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 106.7 kB / 15.99 MB, free: 6.348 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.001162/0.001162, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.496/1.496, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.665 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.2 kB / 0.8127 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3407, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 1.037/1.378, allocations: 176.8 MB / 1.122 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02134/1.399, allocations: 10.83 MB / 1.133 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005372/1.405, allocations: 76.58 kB / 1.133 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00813/1.413, allocations: 1.878 MB / 1.135 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007545/1.42, allocations: 1.484 MB / 1.136 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003513/1.424, allocations: 0.7249 MB / 1.137 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007308/1.431, allocations: 3.154 MB / 1.14 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/1.434, allocations: 1.304 MB / 1.141 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/1.438, allocations: 1.118 MB / 1.143 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/1.441, allocations: 1.143 MB / 1.144 GB, free: 368 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006142/1.442, allocations: 138.1 kB / 1.144 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/1.445, allocations: 0.9602 MB / 1.145 GB, free: 264 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006651/1.446, allocations: 485.2 kB / 1.145 GB, free: 164 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002202/1.448, allocations: 1.094 MB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004843/1.453, allocations: 2.606 MB / 1.149 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.453, allocations: 1.125 kB / 1.149 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.894e-06/1.453, allocations: 0 / 1.149 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.881e-05/1.453, allocations: 0 / 1.149 GB, free: 15.54 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.007645/1.461, allocations: 2.752 MB / 1.151 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.461, allocations: 9.031 kB / 1.152 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.463, allocations: 378.8 kB / 1.152 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/1.468, allocations: 1.885 MB / 1.154 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/1.468, allocations: 57.16 kB / 1.154 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.468, allocations: 74.28 kB / 1.154 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/1.47, allocations: 0.9422 MB / 1.155 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.47, allocations: 0.625 kB / 1.155 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/1.47, allocations: 39.64 kB / 1.155 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/1.47, allocations: 25.12 kB / 1.155 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/1.471, allocations: 0.7036 MB / 1.155 GB, free: 12.45 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.008618/1.48, allocations: 4.494 MB / 1.16 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/1.481, allocations: 311.4 kB / 1.16 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.481, allocations: 182.7 kB / 1.16 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/1.481, allocations: 97.33 kB / 1.16 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.481, allocations: 44.2 kB / 1.16 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/1.481, allocations: 0 / 1.16 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.004467/1.486, allocations: 1.694 MB / 1.162 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.486, allocations: 55.06 kB / 1.162 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005147/1.491, allocations: 2.975 MB / 1.165 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/1.491, allocations: 36.52 kB / 1.165 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.492, allocations: 1.052 MB / 1.166 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/1.493, allocations: 125.7 kB / 1.166 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/1.493, allocations: 110.7 kB / 1.166 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.493, allocations: 331.7 kB / 1.167 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/1.493, allocations: 165.2 kB / 1.167 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/1.494, allocations: 367.5 kB / 1.167 GB, free: 5.438 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.002401/1.496, allocations: 1.084 MB / 1.168 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.496, allocations: 2.656 kB / 1.168 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001795/1.498, allocations: 0.7929 MB / 1.169 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.498, allocations: 9.281 kB / 1.169 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.498, allocations: 8.375 kB / 1.169 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/1.498, allocations: 62.59 kB / 1.169 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/1.499, allocations: 100.9 kB / 1.169 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/1.5, allocations: 1.85 MB / 1.171 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/1.502, allocations: 55.31 kB / 1.171 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/1.502, allocations: 25.59 kB / 1.171 GB, free: 2.691 MB / 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.002102/1.504, allocations: 0.7951 MB / 1.172 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/1.505, allocations: 238.8 kB / 1.172 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005699/1.506, allocations: 258.6 kB / 1.172 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.506, allocations: 6.75 kB / 1.172 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.506, allocations: 2.375 kB / 1.172 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007938/1.506, allocations: 0.5995 MB / 1.173 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/1.511, allocations: 2.058 MB / 1.175 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.511, allocations: 4.781 kB / 1.175 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/1.511, allocations: 62.94 kB / 1.175 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/1.511, allocations: 58.36 kB / 1.175 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/1.511, allocations: 8.312 kB / 1.175 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/1.513, allocations: 1.862 MB / 1.177 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.513, allocations: 10.16 kB / 1.177 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.515, allocations: 0.9194 MB / 1.178 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.516, allocations: 410.4 kB / 1.178 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/1.516, allocations: 16.77 kB / 1.178 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/1.517, allocations: 25.33 kB / 1.178 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/1.517, allocations: 33.5 kB / 1.178 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/1.517, allocations: 21.5 kB / 1.178 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003584/1.52, allocations: 2.097 MB / 1.18 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.52, allocations: 0 / 1.18 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001395/1.522, allocations: 308.1 kB / 1.181 GB, free: 12.52 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.0005758/1.522, allocations: 173.2 kB / 1.181 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001071/1.523, allocations: 0.5491 MB / 1.181 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.523, allocations: 2.75 kB / 1.181 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/1.524, allocations: 300.9 kB / 1.182 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.528, allocations: 0.9646 MB / 1.183 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/1.536, allocations: 4.578 MB / 1.187 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.537, allocations: 1.825 MB / 1.189 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/1.538, allocations: 124.5 kB / 1.189 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of SimCode: time 1.954e-06/1.538, allocations: 0 / 1.189 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of Templates: time 0.08101/1.619, allocations: 44.34 MB / 1.232 GB, free: 3.508 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 -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