Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001468/0.001468, allocations: 104.7 kB / 16.35 MB, free: 6.289 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.001636/0.001636, allocations: 193.5 kB / 17.29 MB, free: 5.859 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.94 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7483/1.073, allocations: 204.2 MB / 1.218 GB, free: 9.848 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009591/1.083, allocations: 6.372 MB / 1.224 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.084, allocations: 36.78 kB / 1.224 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/1.086, allocations: 0.7239 MB / 1.225 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006726/1.093, allocations: 2.684 MB / 1.228 GB, free: 1.992 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.001881/1.095, allocations: 0.7133 MB / 1.228 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004349/1.099, allocations: 3.275 MB / 1.232 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.101, allocations: 1.137 MB / 1.233 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/1.103, allocations: 1.253 MB / 1.234 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/1.105, allocations: 1.092 MB / 1.235 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/1.105, allocations: 128 kB / 1.235 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/1.109, allocations: 2.358 MB / 1.237 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005347/1.11, allocations: 0.522 MB / 1.238 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009157/1.111, allocations: 0.7353 MB / 1.239 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004451/1.115, allocations: 2.797 MB / 1.241 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.115, allocations: 0 / 1.241 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/1.115, allocations: 7.938 kB / 1.241 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.115, allocations: 0 / 1.241 GB, free: 4.836 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.003932/1.119, allocations: 1.766 MB / 1.243 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.119, allocations: 12.88 kB / 1.243 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/1.122, allocations: 350.1 kB / 1.244 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/1.123, allocations: 0.8702 MB / 1.244 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/1.123, allocations: 78 kB / 1.244 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.124, allocations: 103.9 kB / 1.245 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.125, allocations: 1.191 MB / 1.246 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.126, allocations: 1.062 kB / 1.246 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.126, allocations: 44 kB / 1.246 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/1.126, allocations: 62.06 kB / 1.246 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.128, allocations: 1.246 MB / 1.247 GB, free: 14.98 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 preOpt removeSimpleEquations (simulation): time 0.006571/1.134, allocations: 5.101 MB / 1.252 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.136, allocations: 1.16 MB / 1.253 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/1.136, allocations: 0.505 MB / 1.254 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/1.136, allocations: 20.58 kB / 1.254 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006993/1.137, allocations: 480.2 kB / 1.254 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 3.155e-06/1.137, allocations: 0 / 1.254 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.002012/1.139, allocations: 1.157 MB / 1.255 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/1.139, allocations: 67.94 kB / 1.255 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006883/1.14, allocations: 0.5706 MB / 1.256 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/1.14, allocations: 41.7 kB / 1.256 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.14, allocations: 467.8 kB / 1.256 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.141, allocations: 272 kB / 1.257 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.141, allocations: 126.7 kB / 1.257 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.141, allocations: 390.7 kB / 1.257 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/1.142, allocations: 330.7 kB / 1.257 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/1.142, allocations: 448.8 kB / 1.258 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.143, allocations: 0.8193 MB / 1.259 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.143, allocations: 0 / 1.259 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001358/1.145, allocations: 0.9335 MB / 1.26 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.145, allocations: 8 kB / 1.26 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.145, allocations: 4 kB / 1.26 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.145, allocations: 4 kB / 1.26 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/1.145, allocations: 161.1 kB / 1.26 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.145, allocations: 13.5 kB / 1.26 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/1.146, allocations: 67.27 kB / 1.26 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/1.146, allocations: 27.94 kB / 1.26 GB, free: 1.176 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.0005843/1.147, allocations: 327.8 kB / 1.26 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.147, allocations: 79.06 kB / 1.26 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/1.147, allocations: 111.8 kB / 1.26 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.147, allocations: 11.94 kB / 1.26 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/1.147, allocations: 0 / 1.26 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/1.149, allocations: 1.093 MB / 1.261 GB, free: 15.46 MB / 0.9669 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.0037/1.152, allocations: 2.314 MB / 1.264 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.152, allocations: 0 / 1.264 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/1.153, allocations: 171.8 kB / 1.264 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/1.153, allocations: 4 kB / 1.264 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/1.153, allocations: 16 kB / 1.264 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.153, allocations: 12.02 kB / 1.264 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.153, allocations: 0 / 1.264 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/1.155, allocations: 1.351 MB / 1.265 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/1.156, allocations: 252 kB / 1.265 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.156, allocations: 16 kB / 1.265 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/1.157, allocations: 25.3 kB / 1.265 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/1.157, allocations: 44.59 kB / 1.265 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/1.157, allocations: 23.98 kB / 1.266 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00048/1.157, allocations: 415.1 kB / 1.266 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.157, allocations: 0 / 1.266 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000951/1.158, allocations: 371 kB / 1.266 GB, free: 10.35 MB / 0.9669 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.0003208/1.159, allocations: 175.1 kB / 1.266 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001223/1.16, allocations: 0.798 MB / 1.267 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.16, allocations: 0.6875 kB / 1.267 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/1.16, allocations: 431.5 kB / 1.268 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.163, allocations: 0.5923 MB / 1.268 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.166, allocations: 2.168 MB / 1.27 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/1.167, allocations: 1.14 MB / 1.271 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009424/1.168, allocations: 271.1 kB / 1.272 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/1.168, allocations: 83.36 kB / 1.272 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of SimCode: time 6.32e-07/1.168, allocations: 4 kB / 1.272 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.03059/1.199, allocations: 19.04 MB / 1.29 GB, free: 1.852 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches