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.001299/0.001299, 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.00157/0.00157, allocations: 194.7 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.517/1.517, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.86 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3924, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9567/1.349, allocations: 204.2 MB / 1.268 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.359, allocations: 6.368 MB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.361, allocations: 38.72 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/1.364, allocations: 0.7354 MB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008724/1.372, allocations: 2.671 MB / 1.277 GB, free: 6.02 MB / 0.9981 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.003246/1.376, allocations: 0.7031 MB / 1.278 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006375/1.382, allocations: 3.275 MB / 1.281 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/1.385, allocations: 1.145 MB / 1.282 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/1.389, allocations: 1.24 MB / 1.283 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/1.393, allocations: 1.095 MB / 1.284 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008628/1.394, allocations: 129.8 kB / 1.285 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008105/1.402, allocations: 2.355 MB / 1.287 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/1.404, allocations: 0.5173 MB / 1.287 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003403/1.407, allocations: 0.741 MB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009466/1.417, allocations: 2.771 MB / 1.291 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.417, allocations: 0 / 1.291 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.394e-06/1.417, allocations: 0.9062 kB / 1.291 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.643e-05/1.417, allocations: 0.9688 kB / 1.291 GB, free: 5.676 MB / 0.9981 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.008041/1.425, allocations: 1.774 MB / 1.293 GB, free: 20.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.425, allocations: 9.094 kB / 1.293 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/1.428, allocations: 351.5 kB / 1.293 GB, free: 20.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/1.43, allocations: 0.8327 MB / 1.294 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.87e-05/1.43, allocations: 77.98 kB / 1.294 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/1.431, allocations: 104.2 kB / 1.294 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/1.434, allocations: 1.191 MB / 1.295 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/1.434, allocations: 1.125 kB / 1.295 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/1.434, allocations: 41 kB / 1.295 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.332e-05/1.434, allocations: 63.77 kB / 1.295 GB, free: 20.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/1.437, allocations: 1.25 MB / 1.296 GB, free: 20.35 MB / 1.014 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.009034/1.446, allocations: 5.145 MB / 1.301 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.447, allocations: 1.158 MB / 1.303 GB, free: 17.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008118/1.448, allocations: 0.4984 MB / 1.303 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/1.448, allocations: 20.56 kB / 1.303 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008246/1.449, allocations: 493.2 kB / 1.303 GB, free: 17.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.426e-06/1.449, allocations: 0 / 1.303 GB, free: 17.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002234/1.451, allocations: 1.157 MB / 1.305 GB, free: 17.28 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/1.451, allocations: 58.78 kB / 1.305 GB, free: 17.21 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009251/1.452, allocations: 0.5749 MB / 1.305 GB, free: 17.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/1.452, allocations: 39.48 kB / 1.305 GB, free: 17.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/1.453, allocations: 466 kB / 1.306 GB, free: 16.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/1.453, allocations: 268.9 kB / 1.306 GB, free: 16.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/1.453, allocations: 131.4 kB / 1.306 GB, free: 16.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.454, allocations: 385.1 kB / 1.306 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/1.454, allocations: 329.8 kB / 1.307 GB, free: 16.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/1.455, allocations: 457.8 kB / 1.307 GB, free: 16.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.456, allocations: 0.8201 MB / 1.308 GB, free: 16.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.456, allocations: 1 kB / 1.308 GB, free: 16.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001581/1.457, allocations: 0.9327 MB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.457, allocations: 6.312 kB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.457, allocations: 2.75 kB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/1.457, allocations: 7.844 kB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/1.458, allocations: 155.5 kB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.458, allocations: 10.05 kB / 1.309 GB, free: 16.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/1.459, allocations: 64.22 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/1.459, allocations: 26.69 kB / 1.309 GB, free: 15.99 MB / 1.014 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.0005863/1.46, allocations: 332 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/1.46, allocations: 84.28 kB / 1.31 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/1.46, allocations: 108.2 kB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.46, allocations: 9.875 kB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.46, allocations: 0.9375 kB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/1.461, allocations: 1.092 MB / 1.311 GB, free: 15.36 MB / 1.014 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.003434/1.465, allocations: 2.304 MB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.465, allocations: 0 / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.466, allocations: 180.3 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/1.466, allocations: 3.375 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/1.466, allocations: 17.44 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.466, allocations: 3.594 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.466, allocations: 1.125 kB / 1.313 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/1.467, allocations: 1.354 MB / 1.315 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/1.468, allocations: 255.5 kB / 1.315 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.468, allocations: 18.06 kB / 1.315 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/1.469, allocations: 22.92 kB / 1.315 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/1.469, allocations: 50.66 kB / 1.315 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/1.469, allocations: 24.25 kB / 1.315 GB, free: 14.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004804/1.469, allocations: 412.5 kB / 1.315 GB, free: 14.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.469, allocations: 0 / 1.315 GB, free: 14.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00113/1.47, allocations: 369.3 kB / 1.316 GB, free: 14.35 MB / 1.014 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.0003341/1.471, allocations: 184.4 kB / 1.316 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.473, allocations: 1.036 MB / 1.317 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.473, allocations: 3.688 kB / 1.317 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/1.473, allocations: 425.7 kB / 1.317 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.476, allocations: 0.5919 MB / 1.318 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/1.479, allocations: 2.184 MB / 1.32 GB, free: 13.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.48, allocations: 1.139 MB / 1.321 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001059/1.481, allocations: 274 kB / 1.321 GB, free: 12.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/1.481, allocations: 77.16 kB / 1.321 GB, free: 12.48 MB / 1.014 GB Notification: Performance of SimCode: time 1.363e-06/1.481, allocations: 0 / 1.321 GB, free: 12.48 MB / 1.014 GB Notification: Performance of Templates: time 0.03172/1.513, allocations: 19.08 MB / 1.34 GB, free: 8.34 MB / 1.014 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