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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00153/0.001531, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.001555/0.001555, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.601/1.601, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.88 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2421/1.424, allocations: 204.2 MB / 1.42 GB, free: 5.395 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01087/1.435, allocations: 6.387 MB / 1.426 GB, free: 15 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/1.437, allocations: 35.81 kB / 1.427 GB, free: 14.96 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.439, allocations: 0.7578 MB / 1.427 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008033/1.447, allocations: 2.762 MB / 1.43 GB, free: 11.43 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002171/1.449, allocations: 0.7127 MB / 1.431 GB, free: 10.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005376/1.455, allocations: 3.274 MB / 1.434 GB, free: 7.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/1.457, allocations: 1.137 MB / 1.435 GB, free: 6.27 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/1.46, allocations: 1.296 MB / 1.436 GB, free: 4.969 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/1.463, allocations: 1.108 MB / 1.437 GB, free: 3.867 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005768/1.464, allocations: 128 kB / 1.437 GB, free: 3.742 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/1.47, allocations: 2.362 MB / 1.44 GB, free: 1.375 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009442/1.471, allocations: 0.5104 MB / 1.44 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002029/1.474, allocations: 0.7391 MB / 1.441 GB, free: 124 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007144/1.481, allocations: 2.793 MB / 1.444 GB, free: 13.32 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.481, allocations: 0 / 1.444 GB, free: 13.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.154e-06/1.481, allocations: 0 / 1.444 GB, free: 13.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.409e-05/1.481, allocations: 0 / 1.444 GB, free: 13.32 MB / 1.17 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.005922/1.487, allocations: 1.773 MB / 1.445 GB, free: 11.49 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.487, allocations: 8.031 kB / 1.445 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/1.489, allocations: 346.2 kB / 1.446 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/1.492, allocations: 0.8817 MB / 1.447 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/1.492, allocations: 74.02 kB / 1.447 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/1.492, allocations: 104 kB / 1.447 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/1.494, allocations: 1.187 MB / 1.448 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/1.495, allocations: 3.906 kB / 1.448 GB, free: 8.82 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.495, allocations: 43.98 kB / 1.448 GB, free: 8.777 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/1.495, allocations: 62.06 kB / 1.448 GB, free: 8.715 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/1.497, allocations: 1.25 MB / 1.449 GB, free: 7.457 MB / 1.17 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.008217/1.505, allocations: 5.097 MB / 1.454 GB, free: 1.898 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/1.507, allocations: 1.159 MB / 1.455 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/1.508, allocations: 0.5012 MB / 1.456 GB, free: 164 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/1.508, allocations: 16.8 kB / 1.456 GB, free: 144 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008516/1.509, allocations: 496.2 kB / 1.456 GB, free: 15.64 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 4.258e-06/1.509, allocations: 0 / 1.456 GB, free: 15.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.002169/1.511, allocations: 1.157 MB / 1.457 GB, free: 14.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/1.511, allocations: 60.06 kB / 1.458 GB, free: 14.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008747/1.512, allocations: 0.5744 MB / 1.458 GB, free: 13.82 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.748e-05/1.512, allocations: 41.7 kB / 1.458 GB, free: 13.78 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/1.512, allocations: 459.6 kB / 1.459 GB, free: 13.32 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/1.513, allocations: 268 kB / 1.459 GB, free: 13.06 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/1.513, allocations: 142.5 kB / 1.459 GB, free: 12.91 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.513, allocations: 382.8 kB / 1.459 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/1.514, allocations: 329.8 kB / 1.46 GB, free: 12.21 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/1.514, allocations: 452.8 kB / 1.46 GB, free: 11.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.515, allocations: 0.8232 MB / 1.461 GB, free: 10.88 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.515, allocations: 0 / 1.461 GB, free: 10.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001577/1.517, allocations: 0.9297 MB / 1.462 GB, free: 9.934 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.517, allocations: 10.34 kB / 1.462 GB, free: 9.926 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.517, allocations: 0 / 1.462 GB, free: 9.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.517, allocations: 11.94 kB / 1.462 GB, free: 9.914 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/1.518, allocations: 159.7 kB / 1.462 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.518, allocations: 4 kB / 1.462 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/1.519, allocations: 63.31 kB / 1.462 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/1.519, allocations: 24 kB / 1.462 GB, free: 9.668 MB / 1.186 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.0005993/1.519, allocations: 334.7 kB / 1.462 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.52, allocations: 79.06 kB / 1.462 GB, free: 9.254 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/1.52, allocations: 115.7 kB / 1.463 GB, free: 9.133 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/1.521, allocations: 1.089 MB / 1.464 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.521, allocations: 0 / 1.464 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/1.522, allocations: 251.9 kB / 1.464 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/1.522, allocations: 19.98 kB / 1.464 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.523, allocations: 23.98 kB / 1.464 GB, free: 7.648 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/1.523, allocations: 44.59 kB / 1.464 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002028/1.525, allocations: 1.02 MB / 1.465 GB, free: 6.578 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002003/1.527, allocations: 1.477 MB / 1.466 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006245/1.528, allocations: 417 kB / 1.467 GB, free: 4.676 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006485/1.528, allocations: 411.1 kB / 1.467 GB, free: 4.277 MB / 1.186 GB Notification: Performance of Backend: time 9.61e-07/1.528, allocations: 4 kB / 1.467 GB, free: 4.273 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003307/1.532, allocations: 1.025 MB / 1.468 GB, free: 3.242 MB / 1.186 GB Notification: Performance of SimCode: time 0.005822/1.537, allocations: 2.659 MB / 1.471 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of Templates: time 0.04289/1.58, allocations: 23.95 MB / 1.494 GB, free: 8.766 MB / 1.217 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/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