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.007295/0.007295, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001687/0.001687, allocations: 194.8 kB / 16.68 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.375/2.375, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.84 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7172, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2027/0.9199, allocations: 204.2 MB / 1.366 GB, free: 6.941 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009562/0.9295, allocations: 6.381 MB / 1.372 GB, free: 0.543 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.9309, allocations: 39.81 kB / 1.372 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.9328, allocations: 0.7578 MB / 1.373 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00621/0.9391, allocations: 2.763 MB / 1.376 GB, free: 12.97 MB / 1.107 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.001689/0.9408, allocations: 0.7153 MB / 1.376 GB, free: 12.26 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.9443, allocations: 3.282 MB / 1.38 GB, free: 8.965 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.9456, allocations: 1.137 MB / 1.381 GB, free: 7.809 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.9474, allocations: 1.29 MB / 1.382 GB, free: 6.516 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.9492, allocations: 1.105 MB / 1.383 GB, free: 5.41 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.9494, allocations: 128 kB / 1.383 GB, free: 5.285 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.9535, allocations: 2.354 MB / 1.385 GB, free: 2.926 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.954, allocations: 0.5143 MB / 1.386 GB, free: 2.41 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.9548, allocations: 0.743 MB / 1.387 GB, free: 1.664 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.9594, allocations: 2.803 MB / 1.389 GB, free: 14.86 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.9594, allocations: 0 / 1.389 GB, free: 14.86 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9594, allocations: 0 / 1.389 GB, free: 14.86 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.9594, allocations: 4 kB / 1.389 GB, free: 14.85 MB / 1.123 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.004005/0.9635, allocations: 1.809 MB / 1.391 GB, free: 12.98 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9635, allocations: 12.88 kB / 1.391 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.9656, allocations: 354.9 kB / 1.392 GB, free: 12.62 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.9671, allocations: 0.8785 MB / 1.392 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.9672, allocations: 78 kB / 1.392 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.9674, allocations: 107.9 kB / 1.393 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.9692, allocations: 1.195 MB / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.9692, allocations: 0 / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.9693, allocations: 40 kB / 1.394 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.9694, allocations: 62.06 kB / 1.394 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.9713, allocations: 1.25 MB / 1.395 GB, free: 8.934 MB / 1.123 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.00637/0.9777, allocations: 5.11 MB / 1.4 GB, free: 3.367 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.9792, allocations: 1.151 MB / 1.401 GB, free: 2.133 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006845/0.9798, allocations: 0.5012 MB / 1.402 GB, free: 1.629 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.9799, allocations: 12.64 kB / 1.402 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007166/0.9806, allocations: 496.2 kB / 1.402 GB, free: 1.117 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.9807, allocations: 0 / 1.402 GB, free: 1.117 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.001881/0.9825, allocations: 1.157 MB / 1.403 GB, free: 15.95 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9826, allocations: 60.06 kB / 1.403 GB, free: 15.88 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.9832, allocations: 0.5744 MB / 1.404 GB, free: 15.3 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.9833, allocations: 45.69 kB / 1.404 GB, free: 15.25 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.9836, allocations: 468.6 kB / 1.404 GB, free: 14.79 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.9839, allocations: 293.4 kB / 1.405 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.9841, allocations: 130.6 kB / 1.405 GB, free: 14.36 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9843, allocations: 386.8 kB / 1.405 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.9847, allocations: 329.8 kB / 1.405 GB, free: 13.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.9853, allocations: 452.7 kB / 1.406 GB, free: 13.18 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.9864, allocations: 0.8194 MB / 1.407 GB, free: 12.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9864, allocations: 3.938 kB / 1.407 GB, free: 12.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001311/0.9877, allocations: 0.9417 MB / 1.408 GB, free: 11.37 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9877, allocations: 4 kB / 1.408 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9877, allocations: 7.938 kB / 1.408 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9878, allocations: 4 kB / 1.408 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.9884, allocations: 151.8 kB / 1.408 GB, free: 11.21 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.9885, allocations: 11.92 kB / 1.408 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.9891, allocations: 63.86 kB / 1.408 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.9892, allocations: 32 kB / 1.408 GB, free: 11.1 MB / 1.139 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.0004671/0.9897, allocations: 327.8 kB / 1.408 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.9898, allocations: 83.53 kB / 1.408 GB, free: 10.69 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.99, allocations: 107.7 kB / 1.408 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.99, allocations: 11.98 kB / 1.408 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.99, allocations: 0 / 1.408 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/0.9913, allocations: 1.093 MB / 1.409 GB, free: 9.391 MB / 1.139 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.003053/0.9944, allocations: 2.314 MB / 1.412 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9944, allocations: 0 / 1.412 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.9952, allocations: 175.8 kB / 1.412 GB, free: 6.812 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.9952, allocations: 4 kB / 1.412 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.9953, allocations: 23.98 kB / 1.412 GB, free: 6.785 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9953, allocations: 0 / 1.412 GB, free: 6.785 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9953, allocations: 4 kB / 1.412 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.9971, allocations: 1.36 MB / 1.413 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/0.9975, allocations: 252.5 kB / 1.413 GB, free: 5.137 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.9976, allocations: 19.98 kB / 1.414 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/0.9982, allocations: 16 kB / 1.414 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.9983, allocations: 44.59 kB / 1.414 GB, free: 5.055 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.9984, allocations: 27.98 kB / 1.414 GB, free: 5.027 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004452/0.9989, allocations: 411.1 kB / 1.414 GB, free: 4.629 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9989, allocations: 0 / 1.414 GB, free: 4.629 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008414/0.9997, allocations: 379.2 kB / 1.414 GB, free: 4.258 MB / 1.139 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.00025/1, allocations: 176.1 kB / 1.415 GB, free: 4.078 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.001, allocations: 0.8019 MB / 1.415 GB, free: 3.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.001, allocations: 0 / 1.415 GB, free: 3.277 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005292/1.002, allocations: 423.5 kB / 1.416 GB, free: 2.863 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.004, allocations: 0.601 MB / 1.416 GB, free: 2.277 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/1.007, allocations: 2.2 MB / 1.418 GB, free: 48 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/1.008, allocations: 1.136 MB / 1.42 GB, free: 14.89 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008156/1.009, allocations: 275.1 kB / 1.42 GB, free: 14.61 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.009, allocations: 75.44 kB / 1.42 GB, free: 14.54 MB / 1.154 GB Notification: Performance of SimCode: time 3.01e-07/1.009, allocations: 0 / 1.42 GB, free: 14.54 MB / 1.154 GB Notification: Performance of Templates: time 0.02872/1.038, allocations: 19.24 MB / 1.439 GB, free: 11.54 MB / 1.17 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