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.001217/0.001217, allocations: 92.16 kB / 16.02 MB, free: 80 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.002133/0.002134, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.523/1.523, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.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.756/2.756, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 11.98 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8147, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2193/1.034, allocations: 199.3 MB / 1.218 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01224/1.046, allocations: 6.387 MB / 1.225 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/1.049, allocations: 31.81 kB / 1.225 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002717/1.052, allocations: 0.6376 MB / 1.225 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007555/1.059, allocations: 2.525 MB / 1.228 GB, free: 14.24 MB / 0.9825 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.002045/1.061, allocations: 0.6315 MB / 1.228 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005634/1.067, allocations: 4.845 MB / 1.233 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/1.069, allocations: 0.9086 MB / 1.234 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/1.071, allocations: 1.043 MB / 1.235 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/1.074, allocations: 1.106 MB / 1.236 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/1.074, allocations: 56 kB / 1.236 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005216/1.08, allocations: 2.712 MB / 1.239 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008377/1.08, allocations: 442.7 kB / 1.239 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.082, allocations: 0.6705 MB / 1.24 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.6313/1.713, allocations: 2.036 MB / 1.242 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.713, allocations: 2.906 kB / 1.242 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.316e-06/1.713, allocations: 0.7188 kB / 1.242 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.1e-05/1.713, allocations: 0 / 1.242 GB, free: 11.08 MB / 0.9825 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.004514/1.718, allocations: 1.519 MB / 1.243 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.718, allocations: 11.22 kB / 1.243 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/1.721, allocations: 345.3 kB / 1.244 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/1.723, allocations: 0.8417 MB / 1.244 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.723, allocations: 79.39 kB / 1.244 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/1.723, allocations: 98.23 kB / 1.245 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/1.726, allocations: 1.195 MB / 1.246 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/1.726, allocations: 0.6562 kB / 1.246 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.726, allocations: 42.33 kB / 1.246 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.727, allocations: 62.89 kB / 1.246 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/1.729, allocations: 1.246 MB / 1.247 GB, free: 9.957 MB / 0.9825 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.007019/1.736, allocations: 5.085 MB / 1.252 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.737, allocations: 1.15 MB / 1.253 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/1.738, allocations: 0.5004 MB / 1.254 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/1.738, allocations: 23.94 kB / 1.254 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/1.739, allocations: 483.8 kB / 1.254 GB, free: 7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.347e-06/1.739, allocations: 2.25 kB / 1.254 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.002653/1.742, allocations: 1.162 MB / 1.255 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.742, allocations: 63.53 kB / 1.255 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/1.743, allocations: 0.5686 MB / 1.256 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/1.743, allocations: 40.58 kB / 1.256 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.743, allocations: 466.1 kB / 1.256 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/1.744, allocations: 266.8 kB / 1.257 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.744, allocations: 66.62 kB / 1.257 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.744, allocations: 390.2 kB / 1.257 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/1.744, allocations: 333 kB / 1.257 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/1.745, allocations: 446.2 kB / 1.258 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.746, allocations: 0.822 MB / 1.259 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.746, allocations: 1 kB / 1.259 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001447/1.747, allocations: 0.9394 MB / 1.259 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.747, allocations: 6.125 kB / 1.259 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.747, allocations: 3.156 kB / 1.259 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.748, allocations: 6.75 kB / 1.26 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/1.748, allocations: 152.6 kB / 1.26 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.748, allocations: 5.953 kB / 1.26 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.749, allocations: 161 kB / 1.26 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.749, allocations: 24.03 kB / 1.26 GB, free: 5.609 MB / 0.9825 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.0005243/1.75, allocations: 337.2 kB / 1.26 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.75, allocations: 83.62 kB / 1.26 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/1.75, allocations: 107.2 kB / 1.26 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.75, allocations: 9.391 kB / 1.26 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.75, allocations: 0 / 1.26 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.752, allocations: 1.091 MB / 1.261 GB, free: 4.973 MB / 0.9825 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.003764/1.755, allocations: 2.31 MB / 1.264 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.756, allocations: 4.781 kB / 1.264 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/1.756, allocations: 176 kB / 1.264 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.756, allocations: 4.094 kB / 1.264 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.756, allocations: 21.48 kB / 1.264 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.756, allocations: 2.625 kB / 1.264 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.756, allocations: 5.375 kB / 1.264 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/1.759, allocations: 1.351 MB / 1.265 GB, free: 20.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/1.759, allocations: 255.5 kB / 1.265 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/1.759, allocations: 20.09 kB / 1.265 GB, free: 20.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/1.76, allocations: 103.3 kB / 1.266 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.76, allocations: 46.41 kB / 1.266 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/1.761, allocations: 27.14 kB / 1.266 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000642/1.761, allocations: 411.8 kB / 1.266 GB, free: 20 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.761, allocations: 0 / 1.266 GB, free: 20 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001141/1.762, allocations: 365 kB / 1.266 GB, free: 19.95 MB / 0.9981 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.0003081/1.763, allocations: 180 kB / 1.267 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001231/1.764, allocations: 0.8029 MB / 1.267 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.764, allocations: 1.781 kB / 1.267 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/1.764, allocations: 424.4 kB / 1.268 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.767, allocations: 0.5638 MB / 1.268 GB, free: 19.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/1.771, allocations: 2.817 MB / 1.271 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/1.771, allocations: 1.136 MB / 1.272 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/1.772, allocations: 80.39 kB / 1.272 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/1.772, allocations: 0 / 1.272 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.0222/1.794, allocations: 15.58 MB / 1.287 GB, free: 16.42 MB / 0.9981 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 -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