Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001357/0.001357, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.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.257/2.257, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.000457, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6171, allocations: 142.3 MB / 0.9535 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1752/0.7924, allocations: 176.1 MB / 1.125 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.8057, allocations: 9.773 MB / 1.135 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.8071, allocations: 31.81 kB / 1.135 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.8096, allocations: 0.7467 MB / 1.136 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006968/0.8166, allocations: 2.29 MB / 1.138 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.8196, allocations: 1.097 MB / 1.139 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.8227, allocations: 1.828 MB / 1.141 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.8238, allocations: 0.761 MB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.8253, allocations: 0.88 MB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008467/0.8261, allocations: 0.6732 MB / 1.143 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.8262, allocations: 56 kB / 1.143 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.829, allocations: 1.088 MB / 1.144 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.8294, allocations: 382.9 kB / 1.145 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.8297, allocations: 289.1 kB / 1.145 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.8317, allocations: 1.644 MB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.8317, allocations: 0 / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8318, allocations: 0 / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.8318, allocations: 0 / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.00344/0.8352, allocations: 1.513 MB / 1.148 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8353, allocations: 8.031 kB / 1.148 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.8382, allocations: 442 kB / 1.148 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.8396, allocations: 0.8206 MB / 1.149 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.8397, allocations: 74 kB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.8398, allocations: 95.91 kB / 1.149 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.8417, allocations: 1.186 MB / 1.151 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.8417, allocations: 4 kB / 1.151 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.8418, allocations: 39.98 kB / 1.151 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.8419, allocations: 57.92 kB / 1.151 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8436, allocations: 1.07 MB / 1.152 GB, free: 4.633 MB / 0.9044 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.005121/0.8487, allocations: 4.743 MB / 1.156 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.8501, allocations: 0.984 MB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.8507, allocations: 0.6772 MB / 1.158 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8508, allocations: 47.2 kB / 1.158 GB, free: 13.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/0.8508, allocations: 0 / 1.158 GB, free: 13.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=83): time 0.004119/0.8549, allocations: 2.281 MB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.855, allocations: 60.41 kB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.8557, allocations: 0.6334 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.8558, allocations: 41.7 kB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.8561, allocations: 456 kB / 1.161 GB, free: 10.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.8564, allocations: 299.6 kB / 1.162 GB, free: 9.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.8564, allocations: 12 kB / 1.162 GB, free: 9.734 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8566, allocations: 394.7 kB / 1.162 GB, free: 9.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.8571, allocations: 321.8 kB / 1.162 GB, free: 9.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.8576, allocations: 414.5 kB / 1.163 GB, free: 8.594 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.8582, allocations: 378.9 kB / 1.163 GB, free: 8.227 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8582, allocations: 4 kB / 1.163 GB, free: 8.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00143/0.8597, allocations: 0.9462 MB / 1.164 GB, free: 7.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8597, allocations: 8 kB / 1.164 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8597, allocations: 0 / 1.164 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.86, allocations: 81.06 kB / 1.164 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.8607, allocations: 147.8 kB / 1.164 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005113/0.8612, allocations: 0.6344 MB / 1.165 GB, free: 6.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.8623, allocations: 103.8 kB / 1.165 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.8623, allocations: 31.98 kB / 1.165 GB, free: 6.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/0.8628, allocations: 305.6 kB / 1.165 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.863, allocations: 94.95 kB / 1.165 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.8645, allocations: 0.9284 MB / 1.166 GB, free: 4.891 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.8645, allocations: 11.94 kB / 1.166 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8645, allocations: 0 / 1.166 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/0.8656, allocations: 0.9193 MB / 1.167 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.8688, allocations: 2.094 MB / 1.169 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8688, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.8697, allocations: 191.8 kB / 1.169 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.8697, allocations: 4 kB / 1.169 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.8698, allocations: 20 kB / 1.169 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8698, allocations: 3.984 kB / 1.169 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8698, allocations: 0 / 1.169 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.8716, allocations: 1.372 MB / 1.171 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.8722, allocations: 248 kB / 1.171 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.8723, allocations: 19.94 kB / 1.171 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.8732, allocations: 87.77 kB / 1.171 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8733, allocations: 48.92 kB / 1.171 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.8734, allocations: 28 kB / 1.171 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005424/0.8739, allocations: 455 kB / 1.172 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8739, allocations: 4 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008997/0.8748, allocations: 315.9 kB / 1.172 GB, free: 14.96 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003353/0.8752, allocations: 211 kB / 1.172 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.8765, allocations: 0.8051 MB / 1.173 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8765, allocations: 0.5 kB / 1.173 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.8771, allocations: 433.6 kB / 1.173 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.8795, allocations: 0.5549 MB / 1.174 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.8831, allocations: 2.826 MB / 1.177 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.8838, allocations: 1.151 MB / 1.178 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009767/0.8848, allocations: 243.8 kB / 1.178 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.885, allocations: 83.42 kB / 1.178 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of SimCode: time 1.733e-06/0.885, allocations: 0 / 1.178 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of Templates: time 0.02834/0.9134, allocations: 18.8 MB / 1.196 GB, free: 6.062 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches