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.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.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.001404/0.001404, allocations: 105.8 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.001468/0.001468, allocations: 191.6 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.471/2.471, allocations: 390.3 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 65.72 kB / 0.8127 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3696, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.007/1.377, allocations: 211 MB / 1.156 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01662/1.393, allocations: 10.14 MB / 1.166 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/1.397, allocations: 33.94 kB / 1.166 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/1.399, allocations: 0.7525 MB / 1.166 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/1.409, allocations: 2.713 MB / 1.169 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004966/1.414, allocations: 1.32 MB / 1.17 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006658/1.421, allocations: 3.17 MB / 1.173 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/1.423, allocations: 1.008 MB / 1.174 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/1.426, allocations: 1.141 MB / 1.176 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/1.429, allocations: 1.143 MB / 1.177 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/1.43, allocations: 124.4 kB / 1.177 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/1.437, allocations: 2.863 MB / 1.18 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009638/1.438, allocations: 0.4934 MB / 1.18 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/1.44, allocations: 0.7262 MB / 1.181 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.444, allocations: 2.075 MB / 1.183 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.444, allocations: 0 / 1.183 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.943e-06/1.444, allocations: 0 / 1.183 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.691e-05/1.444, allocations: 0 / 1.183 GB, free: 11.52 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004597/1.449, allocations: 1.796 MB / 1.185 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.449, allocations: 12.08 kB / 1.185 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/1.452, allocations: 430.2 kB / 1.185 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.453, allocations: 0.8531 MB / 1.186 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/1.453, allocations: 72.44 kB / 1.186 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.453, allocations: 100.6 kB / 1.186 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/1.456, allocations: 1.203 MB / 1.187 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.456, allocations: 0 / 1.187 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.77e-05/1.456, allocations: 38.41 kB / 1.187 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-05/1.456, allocations: 57.17 kB / 1.187 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/1.458, allocations: 1.07 MB / 1.188 GB, free: 8.715 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.005807/1.463, allocations: 4.735 MB / 1.193 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.465, allocations: 0.9956 MB / 1.194 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009464/1.466, allocations: 0.5683 MB / 1.194 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/1.467, allocations: 0.6669 MB / 1.195 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.467, allocations: 48.59 kB / 1.195 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.466e-06/1.467, allocations: 0 / 1.195 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.004623/1.471, allocations: 2.296 MB / 1.197 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.471, allocations: 60.41 kB / 1.197 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/1.472, allocations: 0.6425 MB / 1.198 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/1.472, allocations: 41.3 kB / 1.198 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/1.473, allocations: 459.6 kB / 1.199 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/1.473, allocations: 296.6 kB / 1.199 GB, free: 348 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.473, allocations: 137.2 kB / 1.199 GB, free: 264 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.473, allocations: 388.6 kB / 1.199 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/1.474, allocations: 323.5 kB / 1.2 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/1.474, allocations: 431.1 kB / 1.2 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/1.476, allocations: 0.7838 MB / 1.201 GB, free: 15 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.476, allocations: 0 / 1.201 GB, free: 15 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001611/1.477, allocations: 0.9499 MB / 1.202 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.477, allocations: 7.969 kB / 1.202 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.477, allocations: 0 / 1.202 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/1.478, allocations: 58.58 kB / 1.202 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/1.478, allocations: 158.3 kB / 1.202 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000531/1.479, allocations: 0.6152 MB / 1.203 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.48, allocations: 104.4 kB / 1.203 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/1.48, allocations: 27.7 kB / 1.203 GB, free: 13.79 MB / 0.8887 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 (92): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005615/1.481, allocations: 309.9 kB / 1.203 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.481, allocations: 89.44 kB / 1.203 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/1.483, allocations: 0.9266 MB / 1.204 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.483, allocations: 8.094 kB / 1.204 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.483, allocations: 0 / 1.204 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/1.484, allocations: 0.9332 MB / 1.205 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.487, allocations: 2.114 MB / 1.207 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.487, allocations: 0 / 1.207 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009494/1.488, allocations: 189.9 kB / 1.207 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.488, allocations: 2.781 kB / 1.207 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/1.488, allocations: 23.33 kB / 1.207 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/1.488, allocations: 6.688 kB / 1.207 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.488, allocations: 4 kB / 1.207 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.49, allocations: 1.389 MB / 1.209 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/1.491, allocations: 249.1 kB / 1.209 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.491, allocations: 17.81 kB / 1.209 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/1.492, allocations: 91.92 kB / 1.209 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.492, allocations: 52.7 kB / 1.209 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/1.492, allocations: 22.75 kB / 1.209 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005866/1.493, allocations: 465.4 kB / 1.209 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.493, allocations: 0 / 1.209 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009881/1.494, allocations: 317 kB / 1.21 GB, free: 9.547 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004015/1.494, allocations: 217.8 kB / 1.21 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002035/1.496, allocations: 1.004 MB / 1.211 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.496, allocations: 2.812 kB / 1.211 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006056/1.497, allocations: 436 kB / 1.211 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/1.499, allocations: 0.5903 MB / 1.212 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/1.503, allocations: 2.811 MB / 1.215 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/1.504, allocations: 1.125 MB / 1.216 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/1.504, allocations: 85.77 kB / 1.216 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of SimCode: time 1.122e-06/1.504, allocations: 3.062 kB / 1.216 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of Templates: time 0.03247/1.537, allocations: 18.69 MB / 1.234 GB, free: 6.066 MB / 0.9044 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches