Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001159/0.001159, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001491/0.001491, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003254, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5914/0.5918, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1902/0.782, allocations: 185.9 MB / 1.204 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008868/0.7909, allocations: 5.979 MB / 1.21 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.7922, allocations: 35.81 kB / 1.21 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.7936, allocations: 489.1 kB / 1.21 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.7989, allocations: 1.936 MB / 1.212 GB, free: 13.17 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.001326/0.8002, allocations: 0.4884 MB / 1.213 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.8044, allocations: 4.031 MB / 1.217 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.8055, allocations: 0.8094 MB / 1.217 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.8073, allocations: 1.062 MB / 1.218 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.8087, allocations: 1.055 MB / 1.219 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.8088, allocations: 56 kB / 1.219 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.8116, allocations: 1.126 MB / 1.221 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.812, allocations: 446.7 kB / 1.221 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003149/0.8123, allocations: 289.1 kB / 1.221 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.8143, allocations: 1.839 MB / 1.223 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8143, allocations: 4 kB / 1.223 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8143, allocations: 0 / 1.223 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.8144, allocations: 0 / 1.223 GB, free: 1.938 MB / 0.9669 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.00332/0.8177, allocations: 1.531 MB / 1.225 GB, free: 360 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8177, allocations: 20.5 kB / 1.225 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/0.8199, allocations: 346.4 kB / 1.225 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8211, allocations: 0.8119 MB / 1.226 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.8212, allocations: 82 kB / 1.226 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.8213, allocations: 96 kB / 1.226 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.8232, allocations: 1.187 MB / 1.227 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.8233, allocations: 4 kB / 1.227 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.8234, allocations: 39.98 kB / 1.227 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.957e-05/0.8234, allocations: 62.08 kB / 1.227 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.8253, allocations: 1.246 MB / 1.228 GB, free: 12.38 MB / 0.9825 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.00576/0.8311, allocations: 5.077 MB / 1.233 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.8326, allocations: 1.145 MB / 1.234 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.8333, allocations: 0.5105 MB / 1.235 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/0.8334, allocations: 12.8 kB / 1.235 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/0.8342, allocations: 492.2 kB / 1.235 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.8342, allocations: 0 / 1.235 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.002042/0.8363, allocations: 1.145 MB / 1.237 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.8363, allocations: 68.05 kB / 1.237 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.837, allocations: 0.5667 MB / 1.237 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.8371, allocations: 41.7 kB / 1.237 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.8374, allocations: 463.5 kB / 1.238 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.8377, allocations: 268.1 kB / 1.238 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.8377, allocations: 12 kB / 1.238 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.8379, allocations: 386.8 kB / 1.238 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.8384, allocations: 329.8 kB / 1.239 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.839, allocations: 448.7 kB / 1.239 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.8396, allocations: 399 kB / 1.239 GB, free: 448 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.8396, allocations: 4 kB / 1.239 GB, free: 444 kB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001447/0.8411, allocations: 0.9298 MB / 1.24 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.8411, allocations: 8 kB / 1.24 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.8411, allocations: 7.984 kB / 1.24 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8412, allocations: 7.938 kB / 1.24 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.8418, allocations: 155.8 kB / 1.24 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.8419, allocations: 4 kB / 1.241 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.8427, allocations: 163.3 kB / 1.241 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.8428, allocations: 24 kB / 1.241 GB, free: 15.13 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.8432, allocations: 333.5 kB / 1.241 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.8433, allocations: 79.11 kB / 1.241 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.8436, allocations: 111.7 kB / 1.241 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.8436, allocations: 12 kB / 1.241 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.8436, allocations: 0 / 1.241 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.8449, allocations: 1.089 MB / 1.242 GB, free: 13.42 MB / 0.9981 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.002988/0.8479, allocations: 2.305 MB / 1.245 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8479, allocations: 3.828 kB / 1.245 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/0.8487, allocations: 175.8 kB / 1.245 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.8487, allocations: 4 kB / 1.245 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.8488, allocations: 19.98 kB / 1.245 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8488, allocations: 4 kB / 1.245 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.8488, allocations: 0 / 1.245 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.8506, allocations: 1.354 MB / 1.246 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.8509, allocations: 259.9 kB / 1.246 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.851, allocations: 12 kB / 1.246 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.8518, allocations: 99.81 kB / 1.246 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.8518, allocations: 40.59 kB / 1.246 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.8519, allocations: 28.12 kB / 1.246 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004417/0.8523, allocations: 411 kB / 1.247 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8524, allocations: 0 / 1.247 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008307/0.8532, allocations: 363.1 kB / 1.247 GB, free: 8.242 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.8534, allocations: 187 kB / 1.247 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.8546, allocations: 0.8019 MB / 1.248 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8546, allocations: 0 / 1.248 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/0.8551, allocations: 423.5 kB / 1.249 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.8575, allocations: 0.5653 MB / 1.249 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.8608, allocations: 2.702 MB / 1.252 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006565/0.8615, allocations: 1.14 MB / 1.253 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009311/0.8624, allocations: 267.2 kB / 1.253 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.8626, allocations: 79.42 kB / 1.253 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8627, allocations: 0 / 1.253 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of Templates: time 0.5077/1.37, allocations: 17.58 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches