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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00153/0.001531, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001511/0.001511, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.52 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3115, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8669/1.178, allocations: 204.2 MB / 1.15 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01134/1.19, allocations: 6.369 MB / 1.157 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/1.193, allocations: 37.06 kB / 1.157 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/1.195, allocations: 0.725 MB / 1.157 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008248/1.203, allocations: 2.68 MB / 1.16 GB, free: 2.223 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.002333/1.206, allocations: 0.712 MB / 1.161 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006022/1.212, allocations: 3.276 MB / 1.164 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/1.214, allocations: 1.138 MB / 1.165 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/1.217, allocations: 1.242 MB / 1.166 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/1.221, allocations: 1.1 MB / 1.167 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/1.221, allocations: 128 kB / 1.167 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006786/1.228, allocations: 2.357 MB / 1.17 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/1.229, allocations: 0.5161 MB / 1.17 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/1.231, allocations: 0.7449 MB / 1.171 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00746/1.238, allocations: 2.788 MB / 1.174 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/1.238, allocations: 4 kB / 1.174 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.205e-06/1.238, allocations: 0 / 1.174 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.262e-05/1.238, allocations: 3.938 kB / 1.174 GB, free: 13.17 MB / 0.8731 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.005037/1.243, allocations: 1.77 MB / 1.175 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.243, allocations: 11.53 kB / 1.175 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/1.246, allocations: 350.5 kB / 1.176 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.248, allocations: 0.8676 MB / 1.177 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/1.248, allocations: 75.33 kB / 1.177 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.248, allocations: 103.6 kB / 1.177 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/1.25, allocations: 1.194 MB / 1.178 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/1.25, allocations: 0.8438 kB / 1.178 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.25, allocations: 43.91 kB / 1.178 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.636e-05/1.251, allocations: 63.14 kB / 1.178 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.252, allocations: 1.247 MB / 1.179 GB, free: 10.54 MB / 0.8731 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.007238/1.26, allocations: 5.107 MB / 1.184 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.261, allocations: 1.149 MB / 1.185 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/1.262, allocations: 0.4997 MB / 1.186 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.739e-05/1.262, allocations: 17.48 kB / 1.186 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/1.263, allocations: 490.9 kB / 1.186 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/1.263, allocations: 0 / 1.186 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76): time 0.001995/1.265, allocations: 1.155 MB / 1.188 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/1.265, allocations: 68 kB / 1.188 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/1.265, allocations: 0.574 MB / 1.188 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/1.266, allocations: 40.48 kB / 1.188 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.266, allocations: 461.8 kB / 1.189 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/1.266, allocations: 269.7 kB / 1.189 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/1.266, allocations: 131 kB / 1.189 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.267, allocations: 387 kB / 1.189 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/1.267, allocations: 329.4 kB / 1.19 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/1.268, allocations: 457 kB / 1.19 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.269, allocations: 0.822 MB / 1.191 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.269, allocations: 0 / 1.191 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001346/1.27, allocations: 0.9291 MB / 1.192 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.27, allocations: 7.031 kB / 1.192 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.27, allocations: 3.469 kB / 1.192 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.27, allocations: 9.5 kB / 1.192 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/1.271, allocations: 158.4 kB / 1.192 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.271, allocations: 7.344 kB / 1.192 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/1.272, allocations: 64.83 kB / 1.192 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/1.272, allocations: 26.53 kB / 1.192 GB, free: 1.277 MB / 0.8731 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.0005508/1.272, allocations: 343.6 kB / 1.192 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.272, allocations: 79.88 kB / 1.193 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/1.272, allocations: 104.2 kB / 1.193 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.273, allocations: 16.81 kB / 1.193 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.273, allocations: 0 / 1.193 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.274, allocations: 1.087 MB / 1.194 GB, free: 88 kB / 0.8731 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.003392/1.277, allocations: 2.31 MB / 1.196 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.277, allocations: 2.75 kB / 1.196 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/1.278, allocations: 175.8 kB / 1.196 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.278, allocations: 2.688 kB / 1.196 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/1.278, allocations: 21.05 kB / 1.196 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.278, allocations: 5 kB / 1.196 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.278, allocations: 0 / 1.196 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/1.28, allocations: 1.343 MB / 1.197 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005428/1.28, allocations: 261.6 kB / 1.198 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.281, allocations: 20.88 kB / 1.198 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/1.281, allocations: 22.77 kB / 1.198 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/1.281, allocations: 40.12 kB / 1.198 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/1.281, allocations: 29.83 kB / 1.198 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004925/1.282, allocations: 410.4 kB / 1.198 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.282, allocations: 3.938 kB / 1.198 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001024/1.283, allocations: 369.2 kB / 1.199 GB, free: 13.11 MB / 0.8887 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.0003043/1.283, allocations: 183.7 kB / 1.199 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001196/1.284, allocations: 0.8096 MB / 1.2 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.284, allocations: 0 / 1.2 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/1.285, allocations: 424.9 kB / 1.2 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/1.287, allocations: 0.6017 MB / 1.201 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.291, allocations: 2.161 MB / 1.203 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007239/1.291, allocations: 1.136 MB / 1.204 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009916/1.292, allocations: 271.1 kB / 1.204 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.293, allocations: 77.86 kB / 1.204 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of SimCode: time 1.072e-06/1.293, allocations: 0 / 1.204 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of Templates: time 0.03224/1.325, allocations: 19.06 MB / 1.223 GB, free: 12.76 MB / 0.9044 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 -s cvode -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