Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000971/0.0009711, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.471/1.471, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.805/2.805, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 9.812 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3958, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.07/1.466, allocations: 199.2 MB / 1.254 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01108/1.477, allocations: 6.39 MB / 1.26 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/1.479, allocations: 28.56 kB / 1.26 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/1.481, allocations: 0.6484 MB / 1.261 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/1.489, allocations: 2.526 MB / 1.263 GB, free: 2.645 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.002104/1.491, allocations: 0.6396 MB / 1.264 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00671/1.498, allocations: 4.828 MB / 1.269 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/1.499, allocations: 0.9169 MB / 1.269 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/1.502, allocations: 1.042 MB / 1.27 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003602/1.506, allocations: 1.104 MB / 1.272 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/1.506, allocations: 56.03 kB / 1.272 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007663/1.514, allocations: 2.705 MB / 1.274 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/1.515, allocations: 449.1 kB / 1.275 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/1.517, allocations: 0.673 MB / 1.275 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005526/1.522, allocations: 2.035 MB / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.522, allocations: 0 / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/1.522, allocations: 1.312 kB / 1.277 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.409e-05/1.522, allocations: 4 kB / 1.277 GB, free: 2.297 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.005894/1.528, allocations: 1.525 MB / 1.279 GB, free: 17.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.528, allocations: 13.41 kB / 1.279 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/1.531, allocations: 349.5 kB / 1.279 GB, free: 17.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/1.533, allocations: 0.8358 MB / 1.28 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/1.533, allocations: 76.58 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/1.533, allocations: 98.61 kB / 1.28 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/1.536, allocations: 1.2 MB / 1.281 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.536, allocations: 1 kB / 1.281 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/1.536, allocations: 42.16 kB / 1.281 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.831e-05/1.536, allocations: 57.95 kB / 1.281 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/1.538, allocations: 1.25 MB / 1.283 GB, free: 17 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.007164/1.545, allocations: 5.091 MB / 1.288 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.547, allocations: 1.154 MB / 1.289 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/1.548, allocations: 0.5039 MB / 1.289 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/1.548, allocations: 10.56 kB / 1.289 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000808/1.549, allocations: 492 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.549, allocations: 0 / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002275/1.551, allocations: 1.152 MB / 1.291 GB, free: 13.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.551, allocations: 59.59 kB / 1.291 GB, free: 13.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/1.552, allocations: 0.5721 MB / 1.291 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/1.552, allocations: 44.86 kB / 1.292 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/1.552, allocations: 473.1 kB / 1.292 GB, free: 13.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/1.553, allocations: 263.2 kB / 1.292 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.553, allocations: 67.69 kB / 1.292 GB, free: 13.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002002/1.553, allocations: 388.7 kB / 1.293 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/1.554, allocations: 331 kB / 1.293 GB, free: 12.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/1.554, allocations: 452.8 kB / 1.293 GB, free: 12.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.555, allocations: 0.8182 MB / 1.294 GB, free: 12.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.555, allocations: 0.9375 kB / 1.294 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001513/1.557, allocations: 0.934 MB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.557, allocations: 5.5 kB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.557, allocations: 6.797 kB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.557, allocations: 6.312 kB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006959/1.558, allocations: 152.8 kB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.558, allocations: 12.19 kB / 1.295 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.559, allocations: 159.1 kB / 1.295 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/1.559, allocations: 23.75 kB / 1.295 GB, free: 12.61 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.0006937/1.56, allocations: 333.8 kB / 1.296 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.56, allocations: 82.23 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/1.56, allocations: 112.2 kB / 1.296 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.56, allocations: 8.125 kB / 1.296 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.56, allocations: 0 / 1.296 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001348/1.562, allocations: 1.097 MB / 1.297 GB, free: 11.97 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 postOpt removeSimpleEquations (simulation): time 0.003796/1.565, allocations: 2.31 MB / 1.299 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.565, allocations: 1.719 kB / 1.299 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/1.566, allocations: 179.2 kB / 1.299 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.566, allocations: 1.812 kB / 1.299 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/1.566, allocations: 24.11 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/1.566, allocations: 2.906 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.566, allocations: 4.656 kB / 1.299 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/1.568, allocations: 1.352 MB / 1.301 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/1.569, allocations: 254.5 kB / 1.301 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.569, allocations: 18.72 kB / 1.301 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008466/1.57, allocations: 103.2 kB / 1.301 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.57, allocations: 41.06 kB / 1.301 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/1.57, allocations: 28.94 kB / 1.301 GB, free: 11.08 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005518/1.57, allocations: 409.9 kB / 1.302 GB, free: 10.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.57, allocations: 0 / 1.302 GB, free: 10.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001195/1.572, allocations: 368.5 kB / 1.302 GB, free: 10.94 MB / 1.014 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.0003368/1.572, allocations: 176.7 kB / 1.302 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.573, allocations: 0.8 MB / 1.303 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.573, allocations: 1.375 kB / 1.303 GB, free: 10.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/1.574, allocations: 425.8 kB / 1.303 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.577, allocations: 0.5614 MB / 1.304 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/1.581, allocations: 2.812 MB / 1.307 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/1.581, allocations: 1.141 MB / 1.308 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.582, allocations: 83.8 kB / 1.308 GB, free: 8.613 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.582, allocations: 0 / 1.308 GB, free: 8.613 MB / 1.014 GB Notification: Performance of Templates: time 0.02641/1.608, allocations: 15.59 MB / 1.323 GB, free: 5.738 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches