Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002358/0.002358, allocations: 109.5 kB / 16.27 MB, free: 6.004 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.002505/0.002505, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.513/1.513, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 469.8 MB / 0.743 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.91 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9806/1.397, allocations: 204.2 MB / 1.264 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01209/1.41, allocations: 6.38 MB / 1.27 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002073/1.412, allocations: 35.81 kB / 1.27 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002339/1.414, allocations: 0.7265 MB / 1.271 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008307/1.422, allocations: 2.676 MB / 1.274 GB, free: 2.781 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.002278/1.425, allocations: 0.7004 MB / 1.274 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005185/1.43, allocations: 3.285 MB / 1.277 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/1.432, allocations: 1.144 MB / 1.279 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/1.435, allocations: 1.246 MB / 1.28 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/1.438, allocations: 1.083 MB / 1.281 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/1.438, allocations: 128 kB / 1.281 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005913/1.444, allocations: 2.358 MB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/1.445, allocations: 0.5182 MB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/1.446, allocations: 0.7391 MB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006085/1.452, allocations: 2.77 MB / 1.287 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.452, allocations: 0 / 1.287 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/1.452, allocations: 0 / 1.287 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.904e-05/1.452, allocations: 0 / 1.287 GB, free: 4.77 MB / 0.9981 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.004808/1.457, allocations: 1.775 MB / 1.289 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.457, allocations: 8.031 kB / 1.289 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/1.46, allocations: 346.2 kB / 1.289 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.461, allocations: 0.8427 MB / 1.29 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/1.461, allocations: 78 kB / 1.29 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.461, allocations: 104 kB / 1.29 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/1.464, allocations: 1.195 MB / 1.291 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/1.464, allocations: 0 / 1.291 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.464, allocations: 36 kB / 1.291 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/1.464, allocations: 70.06 kB / 1.292 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/1.466, allocations: 1.25 MB / 1.293 GB, free: 14.94 MB / 1.014 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.007487/1.473, allocations: 5.132 MB / 1.298 GB, free: 9.352 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.475, allocations: 1.166 MB / 1.299 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/1.476, allocations: 0.5018 MB / 1.299 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/1.476, allocations: 16.64 kB / 1.299 GB, free: 7.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/1.477, allocations: 492.1 kB / 1.3 GB, free: 7.094 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.296e-06/1.477, allocations: 0 / 1.3 GB, free: 7.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002185/1.479, allocations: 1.153 MB / 1.301 GB, free: 5.938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/1.479, allocations: 64 kB / 1.301 GB, free: 5.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/1.48, allocations: 0.5745 MB / 1.302 GB, free: 5.277 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/1.48, allocations: 45.64 kB / 1.302 GB, free: 5.227 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/1.48, allocations: 463.5 kB / 1.302 GB, free: 4.766 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/1.481, allocations: 276.1 kB / 1.302 GB, free: 4.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/1.481, allocations: 122.7 kB / 1.303 GB, free: 4.367 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002429/1.481, allocations: 386.8 kB / 1.303 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/1.482, allocations: 333.8 kB / 1.303 GB, free: 3.652 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/1.482, allocations: 444.8 kB / 1.304 GB, free: 3.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.484, allocations: 0.8232 MB / 1.304 GB, free: 2.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.484, allocations: 4 kB / 1.304 GB, free: 2.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001523/1.485, allocations: 0.9257 MB / 1.305 GB, free: 1.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.485, allocations: 8 kB / 1.305 GB, free: 1.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.485, allocations: 4 kB / 1.305 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/1.485, allocations: 4 kB / 1.305 GB, free: 1.367 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/1.486, allocations: 160.1 kB / 1.306 GB, free: 1.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.486, allocations: 11.94 kB / 1.306 GB, free: 1.199 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/1.487, allocations: 63.28 kB / 1.306 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/1.487, allocations: 27.98 kB / 1.306 GB, free: 1.109 MB / 1.014 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.000552/1.487, allocations: 330.3 kB / 1.306 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/1.488, allocations: 79.06 kB / 1.306 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/1.488, allocations: 107.8 kB / 1.306 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.488, allocations: 11.94 kB / 1.306 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.488, allocations: 0 / 1.306 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/1.489, allocations: 1.097 MB / 1.307 GB, free: 15.39 MB / 1.029 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.003787/1.493, allocations: 2.308 MB / 1.309 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.493, allocations: 0 / 1.309 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/1.494, allocations: 175.8 kB / 1.31 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/1.494, allocations: 4 kB / 1.31 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/1.494, allocations: 20 kB / 1.31 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.494, allocations: 0 / 1.31 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.494, allocations: 4 kB / 1.31 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.496, allocations: 1.35 MB / 1.311 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/1.497, allocations: 256 kB / 1.311 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.497, allocations: 16.81 kB / 1.311 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/1.498, allocations: 27.92 kB / 1.311 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.498, allocations: 40.59 kB / 1.311 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/1.498, allocations: 31.98 kB / 1.311 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000598/1.499, allocations: 407.1 kB / 1.312 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.21e-07/1.499, allocations: 0 / 1.312 GB, free: 10.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00108/1.5, allocations: 371 kB / 1.312 GB, free: 10.28 MB / 1.029 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.0003733/1.5, allocations: 176.6 kB / 1.312 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.502, allocations: 1.044 MB / 1.313 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.502, allocations: 0 / 1.313 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006598/1.503, allocations: 423.5 kB / 1.314 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.506, allocations: 0.6048 MB / 1.314 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/1.51, allocations: 2.256 MB / 1.316 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.511, allocations: 1.143 MB / 1.318 GB, free: 4.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/1.511, allocations: 83.36 kB / 1.318 GB, free: 4.512 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/1.511, allocations: 0 / 1.318 GB, free: 4.512 MB / 1.029 GB Notification: Performance of Templates: time 0.02821/1.54, allocations: 15.75 MB / 1.333 GB, free: 4.867 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches