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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001588/0.001588, allocations: 108 kB / 15.61 MB, free: 152 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.001989/0.00199, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437 MB / 0.7103 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 55.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.6357, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2035/0.8393, allocations: 204.2 MB / 1.217 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009402/0.8487, allocations: 6.374 MB / 1.223 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009777/0.8497, allocations: 43.81 kB / 1.223 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.8514, allocations: 0.7226 MB / 1.224 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.857, allocations: 2.676 MB / 1.226 GB, free: 11.75 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001563/0.8585, allocations: 0.7076 MB / 1.227 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.8619, allocations: 3.274 MB / 1.23 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.8633, allocations: 1.144 MB / 1.231 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.8653, allocations: 1.246 MB / 1.232 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.8672, allocations: 1.092 MB / 1.234 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.8674, allocations: 128 kB / 1.234 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004407/0.8718, allocations: 2.358 MB / 1.236 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.8724, allocations: 0.5104 MB / 1.236 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008109/0.8732, allocations: 0.743 MB / 1.237 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.8768, allocations: 2.77 MB / 1.24 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8768, allocations: 0 / 1.24 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8768, allocations: 0 / 1.24 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.8768, allocations: 0 / 1.24 GB, free: 13.73 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.003976/0.8808, allocations: 1.769 MB / 1.242 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8808, allocations: 15.92 kB / 1.242 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.8831, allocations: 354.1 kB / 1.242 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.8844, allocations: 0.8351 MB / 1.243 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.8844, allocations: 82 kB / 1.243 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8846, allocations: 99.91 kB / 1.243 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.8864, allocations: 1.199 MB / 1.244 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.8864, allocations: 0 / 1.244 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.8866, allocations: 40 kB / 1.244 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.676e-05/0.8866, allocations: 62.06 kB / 1.244 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.8885, allocations: 1.242 MB / 1.245 GB, free: 7.902 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 preOpt removeSimpleEquations (simulation): time 0.005989/0.8945, allocations: 5.14 MB / 1.25 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.8959, allocations: 1.156 MB / 1.252 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.8966, allocations: 0.5026 MB / 1.252 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.8967, allocations: 20.62 kB / 1.252 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.8974, allocations: 488.2 kB / 1.253 GB, free: 60 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.446e-06/0.8974, allocations: 4 kB / 1.253 GB, free: 56 kB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.4609/1.358, allocations: 1.148 MB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.358, allocations: 65.27 kB / 1.254 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009422/1.359, allocations: 0.5715 MB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/1.359, allocations: 37.42 kB / 1.254 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/1.36, allocations: 462.4 kB / 1.255 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/1.36, allocations: 271 kB / 1.255 GB, free: 234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/1.36, allocations: 134.5 kB / 1.255 GB, free: 234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.36, allocations: 385 kB / 1.256 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/1.361, allocations: 331.2 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/1.362, allocations: 454.2 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.363, allocations: 0.8219 MB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.363, allocations: 4.75 kB / 1.257 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00163/1.365, allocations: 0.9275 MB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.365, allocations: 6.062 kB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/1.365, allocations: 9.656 kB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/1.365, allocations: 6.625 kB / 1.258 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/1.365, allocations: 163.2 kB / 1.258 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/1.365, allocations: 10.66 kB / 1.258 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/1.366, allocations: 58.84 kB / 1.258 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/1.366, allocations: 25.38 kB / 1.258 GB, free: 232.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004638/1.367, allocations: 330.2 kB / 1.259 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.367, allocations: 85.05 kB / 1.259 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/1.367, allocations: 113.1 kB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.367, allocations: 11.41 kB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.367, allocations: 0.5625 kB / 1.259 GB, free: 232 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/1.369, allocations: 1.091 MB / 1.26 GB, free: 231.3 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.003919/1.373, allocations: 2.306 MB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.373, allocations: 0 / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/1.373, allocations: 175.6 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.842e-05/1.373, allocations: 2.656 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/1.374, allocations: 20.36 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.374, allocations: 2.906 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.374, allocations: 0.7812 kB / 1.262 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/1.376, allocations: 1.354 MB / 1.264 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/1.376, allocations: 248.6 kB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.376, allocations: 19.88 kB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/1.377, allocations: 22.7 kB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.377, allocations: 54.42 kB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/1.377, allocations: 23.03 kB / 1.264 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006771/1.378, allocations: 415.5 kB / 1.264 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.378, allocations: 3.906 kB / 1.264 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001168/1.379, allocations: 366.2 kB / 1.265 GB, free: 229 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 (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.0002787/1.379, allocations: 172.8 kB / 1.265 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002147/1.382, allocations: 1.034 MB / 1.266 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/1.382, allocations: 1.094 kB / 1.266 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/1.382, allocations: 428.2 kB / 1.266 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.385, allocations: 0.5961 MB / 1.267 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/1.389, allocations: 2.192 MB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/1.389, allocations: 1.137 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001107/1.39, allocations: 279.4 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.391, allocations: 76.05 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.391, allocations: 1 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03184/1.423, allocations: 19.07 MB / 1.289 GB, free: 216.3 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