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.001047/0.001047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00855/0.00855, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.323/2.323, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003372, allocations: 11.98 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6668, allocations: 142.4 MB / 0.955 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2078/0.8746, allocations: 199.3 MB / 1.15 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.8851, allocations: 6.376 MB / 1.156 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.8869, allocations: 31.81 kB / 1.156 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.8892, allocations: 0.6532 MB / 1.157 GB, free: 312 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.8975, allocations: 2.514 MB / 1.159 GB, free: 13.78 MB / 0.92 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.002103/0.8996, allocations: 0.644 MB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005792/0.9054, allocations: 4.83 MB / 1.164 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.9071, allocations: 0.9163 MB / 1.165 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.9094, allocations: 1.043 MB / 1.166 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.912, allocations: 1.104 MB / 1.167 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.9123, allocations: 60 kB / 1.167 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.918, allocations: 2.7 MB / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007616/0.9188, allocations: 446.7 kB / 1.17 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.9204, allocations: 0.6744 MB / 1.171 GB, free: 1.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.9258, allocations: 2.847 MB / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9258, allocations: 0 / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.416e-06/0.9258, allocations: 0 / 1.174 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.19e-05/0.9259, allocations: 3.938 kB / 1.174 GB, free: 14.47 MB / 0.9356 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.004145/0.9301, allocations: 1.523 MB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.9301, allocations: 12.03 kB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.9325, allocations: 350.1 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.9339, allocations: 0.8466 MB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.934, allocations: 74.02 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.9342, allocations: 104 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.9363, allocations: 1.191 MB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.9363, allocations: 4 kB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.9364, allocations: 43.98 kB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.9365, allocations: 62.06 kB / 1.178 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.9385, allocations: 1.249 MB / 1.179 GB, free: 8.875 MB / 0.9356 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.006513/0.9451, allocations: 5.073 MB / 1.184 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.9466, allocations: 1.152 MB / 1.185 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.9474, allocations: 0.5012 MB / 1.186 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.9475, allocations: 20.78 kB / 1.186 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.9482, allocations: 488.2 kB / 1.186 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.9482, allocations: 11.88 kB / 1.186 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002023/0.9502, allocations: 1.157 MB / 1.187 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.9503, allocations: 60.06 kB / 1.187 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007225/0.951, allocations: 0.5706 MB / 1.188 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.9511, allocations: 41.7 kB / 1.188 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.9514, allocations: 459.6 kB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.9517, allocations: 276 kB / 1.189 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.9518, allocations: 65.69 kB / 1.189 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.952, allocations: 382.8 kB / 1.189 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.9525, allocations: 337.8 kB / 1.189 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.9531, allocations: 448.7 kB / 1.19 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.9543, allocations: 0.8194 MB / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9543, allocations: 0 / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001486/0.9558, allocations: 0.9338 MB / 1.192 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9558, allocations: 8 kB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9558, allocations: 4 kB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.9559, allocations: 11.88 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.9566, allocations: 155.8 kB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.9566, allocations: 4 kB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.9578, allocations: 155.4 kB / 1.192 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.9579, allocations: 24 kB / 1.192 GB, free: 11.08 MB / 0.9512 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.000587/0.9585, allocations: 333.5 kB / 1.192 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.9586, allocations: 83.05 kB / 1.192 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.9589, allocations: 111.7 kB / 1.192 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.9589, allocations: 8 kB / 1.192 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9589, allocations: 4 kB / 1.192 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.9602, allocations: 1.089 MB / 1.194 GB, free: 9.359 MB / 0.9512 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.003417/0.9637, allocations: 2.304 MB / 1.196 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.9637, allocations: 7.984 kB / 1.196 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/0.9646, allocations: 175.8 kB / 1.196 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.9646, allocations: 7.984 kB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.9646, allocations: 16 kB / 1.196 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.9647, allocations: 4 kB / 1.196 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9647, allocations: 0 / 1.196 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.9665, allocations: 1.354 MB / 1.197 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.967, allocations: 260 kB / 1.198 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.9671, allocations: 16 kB / 1.198 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/0.968, allocations: 97.81 kB / 1.198 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.9681, allocations: 52.52 kB / 1.198 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.9681, allocations: 27.98 kB / 1.198 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005571/0.9687, allocations: 411.1 kB / 1.198 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9687, allocations: 0 / 1.198 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001021/0.9697, allocations: 363 kB / 1.199 GB, free: 4.168 MB / 0.9512 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.0002772/0.97, allocations: 180.6 kB / 1.199 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.9713, allocations: 0.8022 MB / 1.199 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9713, allocations: 4 kB / 1.199 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.9719, allocations: 427.5 kB / 1.2 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.9748, allocations: 0.5609 MB / 1.2 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.9789, allocations: 2.737 MB / 1.203 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.9797, allocations: 1.144 MB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001145/0.9808, allocations: 275.2 kB / 1.204 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.9811, allocations: 79.42 kB / 1.205 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/0.9811, allocations: 0 / 1.205 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of Templates: time 0.032/1.013, allocations: 18.13 MB / 1.222 GB, free: 12 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches