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.00909/0.00909, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.00179/0.00179, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.457/1.457, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.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.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6265, allocations: 140.4 MB / 0.9496 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2189/0.8455, allocations: 202 MB / 1.147 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.8567, allocations: 6.446 MB / 1.153 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.8585, allocations: 31.81 kB / 1.153 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.8608, allocations: 0.6376 MB / 1.154 GB, free: 456 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007651/0.8686, allocations: 2.525 MB / 1.156 GB, free: 13.91 MB / 0.92 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.002232/0.8708, allocations: 0.6365 MB / 1.157 GB, free: 13.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005864/0.8767, allocations: 4.832 MB / 1.162 GB, free: 8.434 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/0.8786, allocations: 0.967 MB / 1.162 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.8815, allocations: 1.082 MB / 1.164 GB, free: 6.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/0.8847, allocations: 1.158 MB / 1.165 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004013/0.8851, allocations: 72 kB / 1.165 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/0.8913, allocations: 2.72 MB / 1.167 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000971/0.8923, allocations: 466.7 kB / 1.168 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.8944, allocations: 0.6805 MB / 1.169 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005653/0.9, allocations: 2.074 MB / 1.171 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.9001, allocations: 3.938 kB / 1.171 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.407e-06/0.9001, allocations: 0 / 1.171 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001047/0.9002, allocations: 0 / 1.171 GB, free: 15.19 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.007366/0.9076, allocations: 1.761 MB / 1.172 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.9077, allocations: 8.031 kB / 1.172 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003005/0.9107, allocations: 354.1 kB / 1.173 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.9132, allocations: 0.839 MB / 1.173 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.9133, allocations: 74 kB / 1.174 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.9136, allocations: 107.9 kB / 1.174 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/0.9166, allocations: 1.195 MB / 1.175 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.9167, allocations: 0 / 1.175 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.9168, allocations: 40 kB / 1.175 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/0.9169, allocations: 62.06 kB / 1.175 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.9195, allocations: 1.246 MB / 1.176 GB, free: 9.367 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.009844/0.9293, allocations: 5.073 MB / 1.181 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.9313, allocations: 1.156 MB / 1.182 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.9322, allocations: 0.4973 MB / 1.183 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.9323, allocations: 16.59 kB / 1.183 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008314/0.9331, allocations: 496.1 kB / 1.183 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 3.396e-06/0.9331, allocations: 0 / 1.183 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002216/0.9354, allocations: 1.153 MB / 1.184 GB, free: 436 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.9354, allocations: 64 kB / 1.184 GB, free: 360 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/0.9363, allocations: 0.5785 MB / 1.185 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/0.9364, allocations: 41.7 kB / 1.185 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.9368, allocations: 463.5 kB / 1.185 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.9371, allocations: 272.1 kB / 1.186 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.9374, allocations: 126.6 kB / 1.186 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.9376, allocations: 386.8 kB / 1.186 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.9381, allocations: 333.8 kB / 1.186 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.9387, allocations: 444.8 kB / 1.187 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.9399, allocations: 0.8271 MB / 1.188 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.94, allocations: 4 kB / 1.188 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001506/0.9415, allocations: 0.9335 MB / 1.189 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.9415, allocations: 4 kB / 1.189 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9415, allocations: 8 kB / 1.189 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.9415, allocations: 7.938 kB / 1.189 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.9422, allocations: 160.1 kB / 1.189 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.9423, allocations: 7.938 kB / 1.189 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9434, allocations: 159.2 kB / 1.189 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.9434, allocations: 24 kB / 1.189 GB, free: 11.5 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.0005314/0.944, allocations: 335.6 kB / 1.189 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.9442, allocations: 83.05 kB / 1.189 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.9444, allocations: 107.7 kB / 1.189 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.9444, allocations: 8 kB / 1.189 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.9444, allocations: 0 / 1.189 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.9457, allocations: 1.093 MB / 1.191 GB, free: 9.781 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.003632/0.9494, allocations: 2.312 MB / 1.193 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.9494, allocations: 0 / 1.193 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.9503, allocations: 175.8 kB / 1.193 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.9503, allocations: 4 kB / 1.193 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.9503, allocations: 12 kB / 1.193 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.9504, allocations: 4 kB / 1.193 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9504, allocations: 4.031 kB / 1.193 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.9523, allocations: 1.354 MB / 1.194 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005156/0.9528, allocations: 252 kB / 1.195 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.953, allocations: 20 kB / 1.195 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/0.9539, allocations: 96.31 kB / 1.195 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.954, allocations: 48.59 kB / 1.195 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.9541, allocations: 27.92 kB / 1.195 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005721/0.9546, allocations: 415.1 kB / 1.195 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9547, allocations: 0 / 1.195 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001017/0.9557, allocations: 363.1 kB / 1.195 GB, free: 4.598 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.0003157/0.956, allocations: 188.6 kB / 1.196 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.9573, allocations: 0.8019 MB / 1.196 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9573, allocations: 0 / 1.196 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.9579, allocations: 423.5 kB / 1.197 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.9605, allocations: 0.5581 MB / 1.197 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.9648, allocations: 2.699 MB / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.9656, allocations: 1.14 MB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.966, allocations: 87.36 kB / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.966, allocations: 0 / 1.201 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.02473/0.9907, allocations: 15.74 MB / 1.217 GB, free: 15.03 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/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