Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001524/0.001524, allocations: 108.7 kB / 16.41 MB, free: 6.504 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.00166/0.00166, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6785/0.6797, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2123/0.8921, allocations: 204.2 MB / 1.288 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008995/0.9011, allocations: 6.373 MB / 1.294 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009844/0.9021, allocations: 35.81 kB / 1.294 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.9038, allocations: 0.7694 MB / 1.295 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.9094, allocations: 2.762 MB / 1.298 GB, free: 7.48 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.001582/0.911, allocations: 0.7143 MB / 1.298 GB, free: 6.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.9144, allocations: 3.282 MB / 1.302 GB, free: 3.473 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.9157, allocations: 1.144 MB / 1.303 GB, free: 2.309 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.9175, allocations: 1.281 MB / 1.304 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.9191, allocations: 1.091 MB / 1.305 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.9193, allocations: 132 kB / 1.305 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.9233, allocations: 2.369 MB / 1.307 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.9238, allocations: 0.5143 MB / 1.308 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.9245, allocations: 0.7352 MB / 1.309 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.9278, allocations: 2.797 MB / 1.311 GB, free: 9.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9278, allocations: 0 / 1.311 GB, free: 9.371 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9278, allocations: 0 / 1.311 GB, free: 9.371 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.9278, allocations: 3.938 kB / 1.311 GB, free: 9.367 MB / 1.045 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.003654/0.9315, allocations: 1.769 MB / 1.313 GB, free: 7.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.9315, allocations: 8.031 kB / 1.313 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.9338, allocations: 346.2 kB / 1.313 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.9352, allocations: 0.8778 MB / 1.314 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.9353, allocations: 81.94 kB / 1.314 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.9354, allocations: 108 kB / 1.315 GB, free: 6.086 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.9372, allocations: 1.187 MB / 1.316 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.9373, allocations: 3.938 kB / 1.316 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.9374, allocations: 43.98 kB / 1.316 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.9375, allocations: 62.06 kB / 1.316 GB, free: 4.758 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.9393, allocations: 1.246 MB / 1.317 GB, free: 3.504 MB / 1.045 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.005928/0.9452, allocations: 5.101 MB / 1.322 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.9467, allocations: 1.155 MB / 1.323 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.9474, allocations: 0.5074 MB / 1.324 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.977e-05/0.9474, allocations: 16.8 kB / 1.324 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.9481, allocations: 488.2 kB / 1.324 GB, free: 11.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 2.395e-06/0.9481, allocations: 0 / 1.324 GB, free: 11.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.00183/0.95, allocations: 1.157 MB / 1.325 GB, free: 10.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.95, allocations: 60.06 kB / 1.325 GB, free: 10.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.9506, allocations: 0.5745 MB / 1.326 GB, free: 9.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.9507, allocations: 41.7 kB / 1.326 GB, free: 9.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.951, allocations: 463.5 kB / 1.326 GB, free: 9.371 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.9512, allocations: 272.1 kB / 1.327 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.9514, allocations: 130.6 kB / 1.327 GB, free: 8.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9516, allocations: 390.8 kB / 1.327 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004723/0.9521, allocations: 333.8 kB / 1.327 GB, free: 8.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.9526, allocations: 448.7 kB / 1.328 GB, free: 7.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.9537, allocations: 0.8233 MB / 1.329 GB, free: 6.914 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9537, allocations: 3.938 kB / 1.329 GB, free: 6.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001289/0.955, allocations: 0.9261 MB / 1.33 GB, free: 5.977 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.955, allocations: 8 kB / 1.33 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.955, allocations: 4 kB / 1.33 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.955, allocations: 7.938 kB / 1.33 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.9557, allocations: 155.8 kB / 1.33 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9557, allocations: 7.984 kB / 1.33 GB, free: 5.797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.9565, allocations: 59.28 kB / 1.33 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.9565, allocations: 28 kB / 1.33 GB, free: 5.711 MB / 1.061 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.0004356/0.957, allocations: 333.6 kB / 1.33 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.9571, allocations: 83.06 kB / 1.33 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.9573, allocations: 111.7 kB / 1.33 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.9586, allocations: 1.089 MB / 1.331 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9586, allocations: 0 / 1.331 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.959, allocations: 263.8 kB / 1.332 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.9591, allocations: 16 kB / 1.332 GB, free: 3.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.9597, allocations: 15.98 kB / 1.332 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.9598, allocations: 52.59 kB / 1.332 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00183/0.9616, allocations: 1.024 MB / 1.333 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001811/0.9634, allocations: 1.469 MB / 1.334 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004937/0.9639, allocations: 417 kB / 1.335 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000431/0.9644, allocations: 419 kB / 1.335 GB, free: 320 kB / 1.061 GB Notification: Performance of Backend: time 5.62e-07/0.9644, allocations: 0 / 1.335 GB, free: 320 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.9665, allocations: 1.016 MB / 1.336 GB, free: 15.29 MB / 1.076 GB Notification: Performance of SimCode: time 0.003943/0.9705, allocations: 2.662 MB / 1.339 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.03546/1.006, allocations: 23.96 MB / 1.362 GB, free: 4.844 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches