Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001027/0.001027, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.9 MB, free: 15.27 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.216/2.216, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.86 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3592, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.9382/1.297, allocations: 166.9 MB / 1.113 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01599/1.313, allocations: 8.5 MB / 1.122 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/1.317, allocations: 38.75 kB / 1.122 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/1.319, allocations: 0.5705 MB / 1.122 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006216/1.325, allocations: 1.541 MB / 1.124 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/1.329, allocations: 0.9939 MB / 1.125 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007576/1.336, allocations: 4.104 MB / 1.129 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/1.339, allocations: 1.31 MB / 1.13 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/1.344, allocations: 1.492 MB / 1.131 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/1.348, allocations: 1.513 MB / 1.133 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/1.348, allocations: 187.3 kB / 1.133 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004021/1.352, allocations: 1.107 MB / 1.134 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009415/1.353, allocations: 0.6691 MB / 1.135 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002157/1.356, allocations: 1.035 MB / 1.136 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/1.361, allocations: 2.729 MB / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.361, allocations: 0.625 kB / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.361, allocations: 0 / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.371e-05/1.361, allocations: 0.9688 kB / 1.138 GB, free: 5.457 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.006627/1.368, allocations: 2.268 MB / 1.141 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.368, allocations: 10.19 kB / 1.141 GB, free: 20.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/1.369, allocations: 197.4 kB / 1.141 GB, free: 20.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/1.371, allocations: 1.132 MB / 1.142 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.371, allocations: 118 kB / 1.142 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/1.372, allocations: 157.7 kB / 1.142 GB, free: 19.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003767/1.375, allocations: 1.917 MB / 1.144 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/1.375, allocations: 2.156 kB / 1.144 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.376, allocations: 60.91 kB / 1.144 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/1.376, allocations: 41.25 kB / 1.144 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/1.38, allocations: 2.476 MB / 1.147 GB, free: 18.12 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.01041/1.39, allocations: 6.151 MB / 1.153 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004222/1.395, allocations: 2.799 MB / 1.155 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/1.397, allocations: 1.416 MB / 1.157 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.399, allocations: 1.734 MB / 1.158 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/1.399, allocations: 61.19 kB / 1.158 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=237): time 4.969e-06/1.399, allocations: 1.688 kB / 1.158 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=237): time 0.0064/1.405, allocations: 3.431 MB / 1.162 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/1.406, allocations: 80.92 kB / 1.162 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/1.407, allocations: 0.7736 MB / 1.163 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/1.407, allocations: 73.33 kB / 1.163 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/1.407, allocations: 490.9 kB / 1.163 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008316/1.408, allocations: 0.7882 MB / 1.164 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005652/1.409, allocations: 343.6 kB / 1.164 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.409, allocations: 304.7 kB / 1.165 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/1.411, allocations: 0.9016 MB / 1.165 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/1.412, allocations: 1.127 MB / 1.167 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/1.416, allocations: 2.222 MB / 1.169 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/1.416, allocations: 2.094 kB / 1.169 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004872/1.421, allocations: 2.434 MB / 1.171 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/1.421, allocations: 5.375 kB / 1.171 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.421, allocations: 2.562 kB / 1.171 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/1.421, allocations: 17.84 kB / 1.171 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/1.423, allocations: 442.6 kB / 1.172 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.403e-05/1.423, allocations: 16.81 kB / 1.172 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.425, allocations: 151.6 kB / 1.172 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.425, allocations: 72.52 kB / 1.172 GB, free: 4.633 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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 prepare postOptimizeDAE: time 0.001135/1.426, allocations: 440.3 kB / 1.172 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.426, allocations: 144.1 kB / 1.172 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005444/1.432, allocations: 2.73 MB / 1.175 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/1.432, allocations: 20.94 kB / 1.175 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.432, allocations: 4.219 kB / 1.175 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003877/1.436, allocations: 2.377 MB / 1.177 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008193/1.444, allocations: 4.3 MB / 1.182 GB, free: 280 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.444, allocations: 10.66 kB / 1.182 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.446, allocations: 405.7 kB / 1.182 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006321/1.446, allocations: 102.4 kB / 1.182 GB, free: 156 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.447, allocations: 51.83 kB / 1.182 GB, free: 120 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009018/1.448, allocations: 1.124 MB / 1.183 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.448, allocations: 0 / 1.183 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/1.454, allocations: 4.067 MB / 1.187 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.456, allocations: 480.2 kB / 1.188 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/1.456, allocations: 36.12 kB / 1.188 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/1.457, allocations: 60.2 kB / 1.188 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.457, allocations: 137.1 kB / 1.188 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.457, allocations: 74.59 kB / 1.188 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009366/1.458, allocations: 0.5421 MB / 1.188 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.458, allocations: 0 / 1.188 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002157/1.46, allocations: 0.6486 MB / 1.189 GB, free: 11.93 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009491/1.461, allocations: 391.7 kB / 1.189 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.471, allocations: 4.855 MB / 1.194 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.471, allocations: 0 / 1.194 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/1.474, allocations: 1.285 MB / 1.195 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.477, allocations: 0.5892 MB / 1.196 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/1.484, allocations: 3.855 MB / 1.2 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/1.485, allocations: 1.339 MB / 1.201 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/1.486, allocations: 183.4 kB / 1.201 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of SimCode: time 1.072e-06/1.486, allocations: 0 / 1.201 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of Templates: time 0.0492/1.535, allocations: 31.47 MB / 1.232 GB, free: 2.152 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time