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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001361/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001358/0.001358, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 61.83 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3726, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9887/1.361, allocations: 201.9 MB / 1.265 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01068/1.372, allocations: 6.463 MB / 1.271 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/1.374, allocations: 32.72 kB / 1.271 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/1.377, allocations: 0.6382 MB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008296/1.385, allocations: 2.528 MB / 1.274 GB, free: 5.324 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002277/1.387, allocations: 0.6383 MB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00739/1.395, allocations: 4.831 MB / 1.28 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/1.397, allocations: 0.9695 MB / 1.28 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/1.4, allocations: 1.078 MB / 1.282 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/1.404, allocations: 1.15 MB / 1.283 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/1.405, allocations: 75.56 kB / 1.283 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007553/1.412, allocations: 2.718 MB / 1.285 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001212/1.413, allocations: 477.6 kB / 1.286 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002992/1.416, allocations: 0.6784 MB / 1.286 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.427, allocations: 2.893 MB / 1.289 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.427, allocations: 3.938 kB / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.414e-06/1.427, allocations: 0 / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000124/1.427, allocations: 0 / 1.289 GB, free: 4.973 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.009446/1.437, allocations: 1.773 MB / 1.291 GB, free: 20.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.437, allocations: 8.5 kB / 1.291 GB, free: 20.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/1.44, allocations: 346.2 kB / 1.291 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/1.443, allocations: 0.8359 MB / 1.292 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.443, allocations: 77.19 kB / 1.292 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/1.444, allocations: 101.6 kB / 1.292 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003325/1.447, allocations: 1.193 MB / 1.294 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.447, allocations: 1.312 kB / 1.294 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/1.447, allocations: 40.41 kB / 1.294 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/1.447, allocations: 66.23 kB / 1.294 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/1.45, allocations: 1.25 MB / 1.295 GB, free: 19.64 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.00786/1.457, allocations: 5.076 MB / 1.3 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/1.459, allocations: 1.15 MB / 1.301 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/1.46, allocations: 0.5043 MB / 1.301 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.197e-05/1.46, allocations: 20.44 kB / 1.301 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/1.461, allocations: 485 kB / 1.302 GB, free: 16.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.527e-06/1.461, allocations: 0 / 1.302 GB, free: 16.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002302/1.463, allocations: 1.161 MB / 1.303 GB, free: 16.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.463, allocations: 63.03 kB / 1.303 GB, free: 16.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008949/1.464, allocations: 0.572 MB / 1.304 GB, free: 16.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.332e-05/1.464, allocations: 39.48 kB / 1.304 GB, free: 16.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/1.464, allocations: 466.8 kB / 1.304 GB, free: 16.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/1.465, allocations: 265.3 kB / 1.304 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/1.465, allocations: 130.2 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.465, allocations: 384.7 kB / 1.305 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/1.466, allocations: 332.6 kB / 1.305 GB, free: 15.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/1.466, allocations: 450 kB / 1.306 GB, free: 15.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/1.468, allocations: 0.8265 MB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.468, allocations: 0 / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001568/1.469, allocations: 0.9274 MB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.469, allocations: 10.16 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.469, allocations: 3.312 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.469, allocations: 9.469 kB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/1.47, allocations: 156.1 kB / 1.308 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/1.47, allocations: 7.062 kB / 1.308 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.471, allocations: 168.9 kB / 1.308 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.471, allocations: 30.12 kB / 1.308 GB, free: 15.21 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.0006833/1.472, allocations: 332.1 kB / 1.308 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/1.472, allocations: 84.91 kB / 1.308 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/1.473, allocations: 109.2 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.473, allocations: 7.125 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.473, allocations: 1.344 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/1.474, allocations: 1.088 MB / 1.309 GB, free: 14.59 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.004111/1.478, allocations: 2.31 MB / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.478, allocations: 0 / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/1.479, allocations: 169 kB / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/1.479, allocations: 3.969 kB / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/1.479, allocations: 22.23 kB / 1.312 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.479, allocations: 9.344 kB / 1.312 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.479, allocations: 0 / 1.312 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.481, allocations: 1.351 MB / 1.313 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006653/1.482, allocations: 254.8 kB / 1.313 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/1.482, allocations: 14.06 kB / 1.313 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.483, allocations: 104.5 kB / 1.313 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.483, allocations: 42.81 kB / 1.313 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/1.483, allocations: 31.73 kB / 1.313 GB, free: 13.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006386/1.484, allocations: 420.6 kB / 1.314 GB, free: 13.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.484, allocations: 0 / 1.314 GB, free: 13.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001384/1.485, allocations: 366.1 kB / 1.314 GB, free: 13.56 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.0003592/1.486, allocations: 172.2 kB / 1.314 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.487, allocations: 0.7985 MB / 1.315 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.487, allocations: 0.6875 kB / 1.315 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005533/1.487, allocations: 428 kB / 1.316 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.49, allocations: 0.5623 MB / 1.316 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/1.494, allocations: 2.621 MB / 1.319 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/1.495, allocations: 1.138 MB / 1.32 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001395/1.497, allocations: 284.3 kB / 1.32 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/1.497, allocations: 73.83 kB / 1.32 GB, free: 11.24 MB / 1.014 GB Notification: Performance of SimCode: time 2.475e-06/1.497, allocations: 0 / 1.32 GB, free: 11.24 MB / 1.014 GB Notification: Performance of Templates: time 0.03716/1.534, allocations: 18.25 MB / 1.338 GB, free: 6.555 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches