Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001915/0.001915, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.92 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3921, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9615/1.354, allocations: 204.2 MB / 1.226 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01191/1.366, allocations: 6.364 MB / 1.232 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/1.368, allocations: 36.88 kB / 1.232 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002246/1.37, allocations: 0.731 MB / 1.233 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007146/1.378, allocations: 2.679 MB / 1.236 GB, free: 7.434 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001948/1.38, allocations: 0.7121 MB / 1.236 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004327/1.384, allocations: 3.274 MB / 1.24 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.386, allocations: 1.143 MB / 1.241 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/1.388, allocations: 1.249 MB / 1.242 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/1.391, allocations: 1.085 MB / 1.243 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/1.391, allocations: 128 kB / 1.243 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/1.397, allocations: 2.358 MB / 1.245 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006545/1.397, allocations: 0.5221 MB / 1.246 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/1.398, allocations: 0.7391 MB / 1.247 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0056/1.404, allocations: 2.797 MB / 1.249 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.404, allocations: 3.938 kB / 1.249 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.575e-06/1.404, allocations: 4 kB / 1.249 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.844e-05/1.404, allocations: 0 / 1.249 GB, free: 9.383 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004502/1.409, allocations: 1.762 MB / 1.251 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.409, allocations: 12.03 kB / 1.251 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/1.411, allocations: 346.1 kB / 1.251 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/1.413, allocations: 0.8856 MB / 1.252 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/1.413, allocations: 79.14 kB / 1.252 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.413, allocations: 99.98 kB / 1.252 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.415, allocations: 1.187 MB / 1.254 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/1.415, allocations: 3.938 kB / 1.254 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.415, allocations: 43.98 kB / 1.254 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/1.415, allocations: 62.06 kB / 1.254 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/1.417, allocations: 1.246 MB / 1.255 GB, free: 3.527 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.006898/1.424, allocations: 5.104 MB / 1.26 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.425, allocations: 1.159 MB / 1.261 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/1.426, allocations: 0.5012 MB / 1.262 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/1.426, allocations: 24.77 kB / 1.262 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007174/1.427, allocations: 489 kB / 1.262 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 3.988e-06/1.427, allocations: 0 / 1.262 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.002116/1.429, allocations: 1.157 MB / 1.263 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/1.429, allocations: 64 kB / 1.263 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/1.43, allocations: 0.5706 MB / 1.264 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/1.43, allocations: 37.7 kB / 1.264 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.43, allocations: 463.6 kB / 1.264 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.431, allocations: 268 kB / 1.265 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/1.431, allocations: 130.7 kB / 1.265 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002376/1.431, allocations: 382.8 kB / 1.265 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/1.432, allocations: 337.8 kB / 1.265 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/1.432, allocations: 452.8 kB / 1.266 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.433, allocations: 0.8194 MB / 1.267 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.433, allocations: 0 / 1.267 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001465/1.435, allocations: 0.9296 MB / 1.267 GB, free: 6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.435, allocations: 8.344 kB / 1.267 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.435, allocations: 4 kB / 1.267 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/1.435, allocations: 12 kB / 1.267 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.436, allocations: 159.8 kB / 1.268 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.436, allocations: 5.562 kB / 1.268 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/1.436, allocations: 67.27 kB / 1.268 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/1.436, allocations: 24 kB / 1.268 GB, free: 5.727 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005064/1.437, allocations: 329.5 kB / 1.268 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.437, allocations: 83 kB / 1.268 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/1.437, allocations: 115.8 kB / 1.268 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/1.437, allocations: 7.938 kB / 1.268 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.437, allocations: 4 kB / 1.268 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.438, allocations: 1.093 MB / 1.269 GB, free: 4 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.003181/1.442, allocations: 2.31 MB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.442, allocations: 0 / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/1.443, allocations: 175.8 kB / 1.272 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/1.443, allocations: 4 kB / 1.272 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/1.443, allocations: 19.98 kB / 1.272 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/1.443, allocations: 4 kB / 1.272 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.443, allocations: 0 / 1.272 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/1.444, allocations: 1.351 MB / 1.273 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/1.445, allocations: 256 kB / 1.273 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.445, allocations: 16 kB / 1.273 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/1.446, allocations: 25.3 kB / 1.273 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/1.446, allocations: 40.59 kB / 1.273 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/1.446, allocations: 27.98 kB / 1.273 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004989/1.446, allocations: 411.1 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.81e-07/1.446, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009443/1.447, allocations: 371 kB / 1.274 GB, free: 14.9 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0003104/1.447, allocations: 175.9 kB / 1.274 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.449, allocations: 0.8019 MB / 1.275 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.449, allocations: 4 kB / 1.275 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/1.449, allocations: 427.5 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.451, allocations: 0.5966 MB / 1.276 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/1.455, allocations: 2.164 MB / 1.278 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/1.456, allocations: 1.14 MB / 1.279 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008157/1.456, allocations: 279.1 kB / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.457, allocations: 75.44 kB / 1.28 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of SimCode: time 6.82e-07/1.457, allocations: 0 / 1.28 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of Templates: time 0.03394/1.491, allocations: 19.05 MB / 1.298 GB, free: 6.352 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches