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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008482/0.008482, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001597/0.001597, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.654/2.654, allocations: 472.6 MB / 0.7453 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.88 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2708, allocations: 159.9 MB / 1.226 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8022/1.073, allocations: 204.2 MB / 1.425 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01006/1.083, allocations: 6.363 MB / 1.431 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/1.084, allocations: 37.94 kB / 1.431 GB, free: 9.801 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/1.086, allocations: 0.7294 MB / 1.432 GB, free: 9.211 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006159/1.093, allocations: 2.682 MB / 1.435 GB, free: 7.152 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001708/1.094, allocations: 0.7165 MB / 1.435 GB, free: 6.586 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003558/1.098, allocations: 3.264 MB / 1.438 GB, free: 4.512 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.099, allocations: 1.141 MB / 1.44 GB, free: 3.352 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/1.101, allocations: 1.251 MB / 1.441 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/1.103, allocations: 1.096 MB / 1.442 GB, free: 1.008 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/1.103, allocations: 128 kB / 1.442 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/1.107, allocations: 2.358 MB / 1.444 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004744/1.108, allocations: 0.5182 MB / 1.445 GB, free: 14 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007512/1.109, allocations: 0.7352 MB / 1.445 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/1.112, allocations: 2.803 MB / 1.448 GB, free: 10.45 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.112, allocations: 4 kB / 1.448 GB, free: 10.45 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.734e-06/1.112, allocations: 0 / 1.448 GB, free: 10.45 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.113, allocations: 4 kB / 1.448 GB, free: 10.45 MB / 1.139 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.003688/1.116, allocations: 1.805 MB / 1.45 GB, free: 8.582 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/1.116, allocations: 12.03 kB / 1.45 GB, free: 8.57 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/1.118, allocations: 358.8 kB / 1.45 GB, free: 8.219 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.12, allocations: 0.8824 MB / 1.451 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/1.12, allocations: 70.02 kB / 1.451 GB, free: 7.219 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.12, allocations: 104 kB / 1.451 GB, free: 7.117 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.122, allocations: 1.187 MB / 1.453 GB, free: 5.898 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.122, allocations: 0 / 1.453 GB, free: 5.898 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.122, allocations: 43.98 kB / 1.453 GB, free: 5.855 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/1.122, allocations: 73.94 kB / 1.453 GB, free: 5.781 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/1.124, allocations: 1.246 MB / 1.454 GB, free: 4.527 MB / 1.139 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.005739/1.13, allocations: 5.106 MB / 1.459 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.131, allocations: 1.157 MB / 1.46 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/1.132, allocations: 0.502 MB / 1.46 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/1.132, allocations: 16.8 kB / 1.46 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007166/1.133, allocations: 488.2 kB / 1.461 GB, free: 12.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.285e-06/1.133, allocations: 0 / 1.461 GB, free: 12.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.001865/1.134, allocations: 1.169 MB / 1.462 GB, free: 11.54 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.135, allocations: 60.06 kB / 1.462 GB, free: 11.47 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/1.135, allocations: 0.5783 MB / 1.463 GB, free: 10.88 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/1.135, allocations: 37.7 kB / 1.463 GB, free: 10.84 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/1.136, allocations: 468.7 kB / 1.463 GB, free: 10.38 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/1.136, allocations: 285.5 kB / 1.463 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/1.136, allocations: 134.6 kB / 1.464 GB, free: 9.957 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.136, allocations: 382.8 kB / 1.464 GB, free: 9.574 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/1.137, allocations: 333.8 kB / 1.464 GB, free: 9.246 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/1.137, allocations: 457.8 kB / 1.465 GB, free: 8.766 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.138, allocations: 0.8155 MB / 1.466 GB, free: 7.91 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.138, allocations: 0.75 kB / 1.466 GB, free: 7.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001315/1.14, allocations: 0.9339 MB / 1.466 GB, free: 6.969 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.14, allocations: 8 kB / 1.466 GB, free: 6.961 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.14, allocations: 0 / 1.466 GB, free: 6.961 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.14, allocations: 11.94 kB / 1.466 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/1.14, allocations: 163.7 kB / 1.467 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.14, allocations: 4 kB / 1.467 GB, free: 6.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/1.141, allocations: 64.73 kB / 1.467 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/1.141, allocations: 28 kB / 1.467 GB, free: 6.695 MB / 1.154 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.0004143/1.141, allocations: 330.7 kB / 1.467 GB, free: 6.363 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/1.142, allocations: 83.52 kB / 1.467 GB, free: 6.281 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/1.142, allocations: 111.8 kB / 1.467 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.142, allocations: 7.938 kB / 1.467 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.142, allocations: 7.984 kB / 1.467 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/1.143, allocations: 1.093 MB / 1.468 GB, free: 4.977 MB / 1.154 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.002877/1.146, allocations: 2.314 MB / 1.471 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.146, allocations: 1.625 kB / 1.471 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/1.147, allocations: 171.8 kB / 1.471 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.147, allocations: 4 kB / 1.471 GB, free: 2.398 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/1.147, allocations: 16 kB / 1.471 GB, free: 2.383 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/1.147, allocations: 7.938 kB / 1.471 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.147, allocations: 0 / 1.471 GB, free: 2.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.149, allocations: 1.36 MB / 1.472 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/1.149, allocations: 256.4 kB / 1.472 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.149, allocations: 16 kB / 1.472 GB, free: 0.707 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/1.15, allocations: 23.98 kB / 1.472 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/1.15, allocations: 40.59 kB / 1.472 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/1.15, allocations: 27.12 kB / 1.472 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004641/1.151, allocations: 419 kB / 1.473 GB, free: 220 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 0 / 1.473 GB, free: 220 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009348/1.151, allocations: 371.3 kB / 1.473 GB, free: 15.85 MB / 1.17 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.0003001/1.152, allocations: 167.8 kB / 1.473 GB, free: 15.68 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.153, allocations: 0.8058 MB / 1.474 GB, free: 14.88 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/1.153, allocations: 4 kB / 1.474 GB, free: 14.87 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000536/1.153, allocations: 428.2 kB / 1.475 GB, free: 14.45 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.156, allocations: 0.5892 MB / 1.475 GB, free: 13.89 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/1.159, allocations: 2.205 MB / 1.477 GB, free: 11.65 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/1.16, allocations: 1.143 MB / 1.478 GB, free: 10.48 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008067/1.161, allocations: 271.1 kB / 1.479 GB, free: 10.21 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/1.161, allocations: 75.42 kB / 1.479 GB, free: 10.13 MB / 1.17 GB Notification: Performance of SimCode: time 3.21e-07/1.161, allocations: 0 / 1.479 GB, free: 10.13 MB / 1.17 GB Notification: Performance of Templates: time 0.02819/1.189, allocations: 19.25 MB / 1.497 GB, free: 7.105 MB / 1.186 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches