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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007927/0.007926, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001567/0.001567, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 75.88 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3858, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9235/1.309, allocations: 204.2 MB / 1.407 GB, free: 4.172 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01126/1.321, allocations: 6.381 MB / 1.413 GB, free: 14.97 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/1.323, allocations: 35.34 kB / 1.413 GB, free: 14.96 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/1.325, allocations: 0.7315 MB / 1.414 GB, free: 14.37 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007543/1.333, allocations: 2.672 MB / 1.417 GB, free: 12.32 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002128/1.335, allocations: 0.7188 MB / 1.417 GB, free: 11.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004802/1.34, allocations: 3.274 MB / 1.421 GB, free: 9.879 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/1.341, allocations: 1.144 MB / 1.422 GB, free: 9.195 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/1.344, allocations: 1.269 MB / 1.423 GB, free: 8.477 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/1.347, allocations: 1.097 MB / 1.424 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/1.347, allocations: 128.3 kB / 1.424 GB, free: 7.848 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004913/1.352, allocations: 2.35 MB / 1.426 GB, free: 6.555 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005864/1.352, allocations: 0.5144 MB / 1.427 GB, free: 6.203 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.354, allocations: 0.7393 MB / 1.428 GB, free: 5.668 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005594/1.359, allocations: 2.797 MB / 1.43 GB, free: 2.863 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.359, allocations: 3.984 kB / 1.43 GB, free: 2.859 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.733e-06/1.359, allocations: 0 / 1.43 GB, free: 2.859 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.681e-05/1.359, allocations: 3.938 kB / 1.43 GB, free: 2.855 MB / 1.107 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.004135/1.363, allocations: 1.769 MB / 1.432 GB, free: 1.031 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.363, allocations: 12.62 kB / 1.432 GB, free: 1.02 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/1.366, allocations: 346.2 kB / 1.432 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.367, allocations: 0.874 MB / 1.433 GB, free: 15.76 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/1.367, allocations: 82 kB / 1.433 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/1.368, allocations: 97.19 kB / 1.433 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.37, allocations: 1.191 MB / 1.435 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.37, allocations: 4 kB / 1.435 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.37, allocations: 43.98 kB / 1.435 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-05/1.37, allocations: 58.08 kB / 1.435 GB, free: 14.26 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/1.372, allocations: 1.25 MB / 1.436 GB, free: 13 MB / 1.123 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.006929/1.379, allocations: 5.104 MB / 1.441 GB, free: 7.441 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.38, allocations: 1.151 MB / 1.442 GB, free: 6.207 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006941/1.381, allocations: 0.509 MB / 1.443 GB, free: 5.695 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/1.381, allocations: 16.64 kB / 1.443 GB, free: 5.68 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/1.382, allocations: 484.2 kB / 1.443 GB, free: 5.191 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 2.986e-06/1.382, allocations: 0 / 1.443 GB, free: 5.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.001932/1.384, allocations: 1.161 MB / 1.444 GB, free: 4.023 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/1.384, allocations: 60.06 kB / 1.444 GB, free: 3.953 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/1.384, allocations: 0.5745 MB / 1.445 GB, free: 3.371 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/1.384, allocations: 41.7 kB / 1.445 GB, free: 3.324 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/1.385, allocations: 467.7 kB / 1.445 GB, free: 2.859 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.385, allocations: 268.1 kB / 1.446 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.385, allocations: 126.6 kB / 1.446 GB, free: 2.461 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.385, allocations: 386.8 kB / 1.446 GB, free: 2.074 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/1.386, allocations: 334.7 kB / 1.446 GB, free: 1.75 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/1.387, allocations: 444.8 kB / 1.447 GB, free: 1.281 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.388, allocations: 0.8271 MB / 1.448 GB, free: 428 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.388, allocations: 4 kB / 1.448 GB, free: 424 kB / 1.123 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001459/1.389, allocations: 0.9257 MB / 1.448 GB, free: 15.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.389, allocations: 8 kB / 1.448 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.389, allocations: 0 / 1.448 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/1.389, allocations: 15.92 kB / 1.449 GB, free: 15.46 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.39, allocations: 164 kB / 1.449 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.39, allocations: 11.94 kB / 1.449 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/1.391, allocations: 59.38 kB / 1.449 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/1.391, allocations: 23.98 kB / 1.449 GB, free: 15.21 MB / 1.139 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.0005224/1.391, allocations: 338.4 kB / 1.449 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.391, allocations: 83 kB / 1.449 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/1.392, allocations: 103.8 kB / 1.449 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.392, allocations: 11.94 kB / 1.449 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.392, allocations: 0 / 1.449 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.393, allocations: 1.093 MB / 1.45 GB, free: 13.48 MB / 1.139 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.003238/1.396, allocations: 2.303 MB / 1.453 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.396, allocations: 4 kB / 1.453 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/1.397, allocations: 171.8 kB / 1.453 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/1.397, allocations: 4 kB / 1.453 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/1.397, allocations: 20.03 kB / 1.453 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.397, allocations: 4 kB / 1.453 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.397, allocations: 0 / 1.453 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.399, allocations: 1.351 MB / 1.454 GB, free: 9.523 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/1.399, allocations: 256 kB / 1.454 GB, free: 9.254 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/1.399, allocations: 16 kB / 1.454 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/1.4, allocations: 23.98 kB / 1.454 GB, free: 9.215 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/1.4, allocations: 52.47 kB / 1.454 GB, free: 9.164 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/1.4, allocations: 27.98 kB / 1.454 GB, free: 9.137 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005016/1.401, allocations: 411.1 kB / 1.455 GB, free: 8.742 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.401, allocations: 0 / 1.455 GB, free: 8.742 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009488/1.402, allocations: 363.1 kB / 1.455 GB, free: 8.387 MB / 1.139 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.0003106/1.402, allocations: 177.8 kB / 1.455 GB, free: 8.207 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.403, allocations: 0.8025 MB / 1.456 GB, free: 7.406 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.403, allocations: 4.125 kB / 1.456 GB, free: 7.402 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/1.404, allocations: 431.5 kB / 1.457 GB, free: 6.977 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/1.406, allocations: 0.595 MB / 1.457 GB, free: 6.398 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/1.41, allocations: 2.168 MB / 1.459 GB, free: 4.195 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.411, allocations: 1.136 MB / 1.46 GB, free: 3.035 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009177/1.412, allocations: 271.2 kB / 1.461 GB, free: 2.766 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.412, allocations: 79.42 kB / 1.461 GB, free: 2.688 MB / 1.139 GB Notification: Performance of SimCode: time 7.52e-07/1.412, allocations: 0 / 1.461 GB, free: 2.688 MB / 1.139 GB Notification: Performance of Templates: time 0.0321/1.444, allocations: 19.52 MB / 1.48 GB, free: 15.38 MB / 1.17 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