Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9211/0.9211, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.047/2.047, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8782 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.524e-05, allocations: 4.062 kB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1437/0.1437, allocations: 170.4 MB / 1.045 GB, free: 11.75 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00329/0.147, allocations: 2.442 MB / 1.047 GB, free: 9.297 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003875/0.1474, allocations: 15.88 kB / 1.047 GB, free: 9.281 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.1481, allocations: 234.3 kB / 1.047 GB, free: 9.051 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1499, allocations: 0.9986 MB / 1.048 GB, free: 8.047 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.1514, allocations: 0.8837 MB / 1.049 GB, free: 7.16 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000978/0.1524, allocations: 0.9581 MB / 1.05 GB, free: 6.199 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.1528, allocations: 271.5 kB / 1.05 GB, free: 5.93 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009006/0.1537, allocations: 0.7283 MB / 1.051 GB, free: 5.199 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.1541, allocations: 279.1 kB / 1.051 GB, free: 4.926 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.1541, allocations: 40 kB / 1.051 GB, free: 4.887 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.1553, allocations: 0.8528 MB / 1.052 GB, free: 4.031 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1555, allocations: 167.5 kB / 1.052 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1556, allocations: 167.6 kB / 1.052 GB, free: 3.703 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.1566, allocations: 0.8294 MB / 1.053 GB, free: 2.871 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1566, allocations: 3.938 kB / 1.053 GB, free: 2.867 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1566, allocations: 0 / 1.053 GB, free: 2.867 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1566, allocations: 0 / 1.053 GB, free: 2.867 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009122/0.1575, allocations: 0.8488 MB / 1.054 GB, free: 1.977 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1575, allocations: 8.031 kB / 1.054 GB, free: 1.969 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1586, allocations: 298.9 kB / 1.054 GB, free: 1.676 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.1591, allocations: 334.7 kB / 1.055 GB, free: 1.324 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1591, allocations: 24.66 kB / 1.055 GB, free: 1.301 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1591, allocations: 31.95 kB / 1.055 GB, free: 1.27 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.1596, allocations: 384.9 kB / 1.055 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1596, allocations: 4 kB / 1.055 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.1596, allocations: 12 kB / 1.055 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.1597, allocations: 16 kB / 1.055 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.1599, allocations: 146.7 kB / 1.055 GB, free: 0.668 MB / 1.01 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.3824/0.5423, allocations: 1.563 MB / 1.057 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.5427, allocations: 153.5 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5428, allocations: 62.95 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.5432, allocations: 67.09 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5432, allocations: 39.53 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=23): time 4.608e-06/0.5432, allocations: 1.156 kB / 1.057 GB, free: 222.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=23): time 0.0006234/0.5439, allocations: 239.1 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.5439, allocations: 57.72 kB / 1.057 GB, free: 222.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.5441, allocations: 361 kB / 1.058 GB, free: 222.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5441, allocations: 32.2 kB / 1.058 GB, free: 222.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5443, allocations: 268.1 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.5443, allocations: 87.23 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.5444, allocations: 60.91 kB / 1.058 GB, free: 222.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.5444, allocations: 0.5204 MB / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.5445, allocations: 41.91 kB / 1.059 GB, free: 221.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.5446, allocations: 145.1 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5448, allocations: 138.2 kB / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5448, allocations: 0 / 1.059 GB, free: 221.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002695/0.5451, allocations: 201.4 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5451, allocations: 7.031 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5451, allocations: 3.188 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.5451, allocations: 7 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5453, allocations: 62.28 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5454, allocations: 5.844 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5455, allocations: 31.59 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.5455, allocations: 9.156 kB / 1.059 GB, free: 221.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 9.303e-05/0.5456, allocations: 168 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.5457, allocations: 40.22 kB / 1.059 GB, free: 221.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.546, allocations: 214.8 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.546, allocations: 2.688 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.546, allocations: 5.219 kB / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.546, allocations: 0 / 1.06 GB, free: 221 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.5467, allocations: 0.6976 MB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5467, allocations: 0 / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.5469, allocations: 56.91 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5469, allocations: 2.656 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5469, allocations: 14.19 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5469, allocations: 3.391 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5469, allocations: 2.594 kB / 1.06 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.5473, allocations: 446 kB / 1.061 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.5474, allocations: 66.09 kB / 1.061 GB, free: 220.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.5474, allocations: 10.17 kB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.5476, allocations: 17.62 kB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5476, allocations: 22.36 kB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5477, allocations: 9.547 kB / 1.061 GB, free: 220.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001246/0.5478, allocations: 248.9 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5478, allocations: 0.6562 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003585/0.5481, allocations: 127.1 kB / 1.061 GB, free: 220 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0002929/0.5484, allocations: 156.2 kB / 1.061 GB, free: 219.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.5488, allocations: 146.9 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5488, allocations: 0.5469 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5489, allocations: 86.7 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.5496, allocations: 167.3 kB / 1.062 GB, free: 219.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5513, allocations: 0.8505 MB / 1.063 GB, free: 219.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.5513, allocations: 119.5 kB / 1.063 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.5516, allocations: 66.06 kB / 1.063 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.5517, allocations: 31.41 kB / 1.063 GB, free: 219.2 MB / 1.01 GB Notification: Performance of SimCode: time 9.42e-07/0.5517, allocations: 0 / 1.063 GB, free: 219.2 MB / 1.01 GB Notification: Performance of Templates: time 0.0108/0.5624, allocations: 6.94 MB / 1.07 GB, free: 218.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.744634540984407]