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.00136/0.00136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 192 kB / 16.53 MB, free: 6.391 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.392/2.392, allocations: 390.2 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002008, allocations: 68.12 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.9485, allocations: 140.4 MB / 0.9496 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.29/1.239, allocations: 213.6 MB / 1.158 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01978/1.258, allocations: 10.18 MB / 1.168 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/1.261, allocations: 43.81 kB / 1.168 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00302/1.264, allocations: 0.8352 MB / 1.169 GB, free: 452 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009788/1.274, allocations: 2.889 MB / 1.172 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/1.279, allocations: 1.407 MB / 1.173 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005869/1.285, allocations: 3.18 MB / 1.176 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/1.287, allocations: 1.03 MB / 1.177 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/1.289, allocations: 1.117 MB / 1.178 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/1.292, allocations: 1.076 MB / 1.179 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/1.292, allocations: 124 kB / 1.18 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006894/1.299, allocations: 2.732 MB / 1.182 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007821/1.3, allocations: 498.6 kB / 1.183 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.301, allocations: 0.7312 MB / 1.183 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006512/1.307, allocations: 2.782 MB / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.308, allocations: 0 / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.147e-06/1.308, allocations: 0 / 1.186 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.197e-05/1.308, allocations: 3.938 kB / 1.186 GB, free: 14.82 MB / 0.9512 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.004466/1.312, allocations: 1.799 MB / 1.188 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.312, allocations: 8.031 kB / 1.188 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/1.315, allocations: 434 kB / 1.188 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.316, allocations: 0.8551 MB / 1.189 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/1.317, allocations: 66 kB / 1.189 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/1.317, allocations: 99.98 kB / 1.189 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/1.319, allocations: 1.198 MB / 1.191 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.319, allocations: 0 / 1.191 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.319, allocations: 40 kB / 1.191 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/1.319, allocations: 53.97 kB / 1.191 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/1.321, allocations: 1.077 MB / 1.192 GB, free: 9.07 MB / 0.9512 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.005901/1.327, allocations: 4.777 MB / 1.196 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.328, allocations: 0.9963 MB / 1.197 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009574/1.329, allocations: 0.5675 MB / 1.198 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/1.33, allocations: 0.6694 MB / 1.198 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.33, allocations: 47.22 kB / 1.199 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/1.33, allocations: 0 / 1.199 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.004413/1.334, allocations: 2.304 MB / 1.201 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/1.335, allocations: 64.34 kB / 1.201 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/1.335, allocations: 0.6412 MB / 1.201 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/1.335, allocations: 41.7 kB / 1.202 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/1.336, allocations: 456 kB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/1.336, allocations: 299.6 kB / 1.202 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/1.336, allocations: 134.6 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.336, allocations: 394.7 kB / 1.203 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/1.337, allocations: 325.8 kB / 1.203 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/1.338, allocations: 434.5 kB / 1.203 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.339, allocations: 0.7768 MB / 1.204 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.339, allocations: 4 kB / 1.204 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001567/1.34, allocations: 0.9464 MB / 1.205 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.34, allocations: 9.875 kB / 1.205 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.34, allocations: 0 / 1.205 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/1.341, allocations: 68.77 kB / 1.205 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/1.341, allocations: 155.7 kB / 1.205 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005314/1.342, allocations: 0.6072 MB / 1.206 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/1.343, allocations: 23.98 kB / 1.206 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/1.343, allocations: 24 kB / 1.206 GB, free: 9.57 MB / 0.9669 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.0005796/1.343, allocations: 305.5 kB / 1.206 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.344, allocations: 90.97 kB / 1.206 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/1.345, allocations: 0.9324 MB / 1.207 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.345, allocations: 8 kB / 1.207 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.345, allocations: 0 / 1.207 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.347, allocations: 0.9309 MB / 1.208 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/1.35, allocations: 2.115 MB / 1.21 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.35, allocations: 0 / 1.21 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.351, allocations: 187.8 kB / 1.21 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.351, allocations: 0 / 1.21 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/1.351, allocations: 27.92 kB / 1.21 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.351, allocations: 4 kB / 1.21 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.351, allocations: 4 kB / 1.21 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/1.353, allocations: 1.392 MB / 1.212 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/1.353, allocations: 247.9 kB / 1.212 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.354, allocations: 19.98 kB / 1.212 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/1.354, allocations: 21.12 kB / 1.212 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.354, allocations: 52.92 kB / 1.212 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/1.354, allocations: 27.98 kB / 1.212 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005769/1.355, allocations: 459 kB / 1.213 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.355, allocations: 0 / 1.213 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009703/1.356, allocations: 331.9 kB / 1.213 GB, free: 2.297 MB / 0.9669 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.000416/1.356, allocations: 208.1 kB / 1.213 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.358, allocations: 0.9968 MB / 1.214 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.381e-06/1.358, allocations: 4.062 kB / 1.214 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/1.359, allocations: 437.6 kB / 1.215 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.362, allocations: 0.5867 MB / 1.215 GB, free: 88 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/1.366, allocations: 2.314 MB / 1.217 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/1.367, allocations: 1.12 MB / 1.218 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001215/1.368, allocations: 247.8 kB / 1.219 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/1.368, allocations: 79.44 kB / 1.219 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of SimCode: time 1.262e-06/1.368, allocations: 0 / 1.219 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.03787/1.406, allocations: 20.5 MB / 1.239 GB, free: 8.043 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches