Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009719/0.0009719, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001051/0.001051, allocations: 169.3 kB / 24.28 MB, free: 276 kB / 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.9085/0.9085, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.699/1.699, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.99e-05, allocations: 7.344 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1482/0.1482, allocations: 170.3 MB / 0.9534 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1508, allocations: 2.331 MB / 0.9557 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.151, allocations: 19.81 kB / 0.9557 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.1516, allocations: 230.3 kB / 0.9559 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.1528, allocations: 0.9715 MB / 0.9569 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.154, allocations: 0.8875 MB / 0.9578 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007313/0.1548, allocations: 0.9854 MB / 0.9587 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.1551, allocations: 271.6 kB / 0.959 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.1556, allocations: 0.5765 MB / 0.9595 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.1558, allocations: 287.1 kB / 0.9598 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.1559, allocations: 32 kB / 0.9599 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.1566, allocations: 0.8449 MB / 0.9607 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1567, allocations: 159.5 kB / 0.9608 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1569, allocations: 163.6 kB / 0.961 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.1576, allocations: 0.7944 MB / 0.9618 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1576, allocations: 0 / 0.9618 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1576, allocations: 0 / 0.9618 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1576, allocations: 0 / 0.9618 GB, free: 9.348 MB / 0.9167 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.0007996/0.1584, allocations: 0.8489 MB / 0.9626 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1585, allocations: 8.031 kB / 0.9626 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.1592, allocations: 243 kB / 0.9628 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1596, allocations: 338.7 kB / 0.9632 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1596, allocations: 20.66 kB / 0.9632 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1596, allocations: 36 kB / 0.9632 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.16, allocations: 356.9 kB / 0.9635 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.16, allocations: 4 kB / 0.9635 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.16, allocations: 20 kB / 0.9636 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.16, allocations: 8 kB / 0.9636 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1602, allocations: 126.7 kB / 0.9637 GB, free: 7.25 MB / 0.9167 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.0011/0.1613, allocations: 1.535 MB / 0.9652 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1615, allocations: 126.9 kB / 0.9653 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.1616, allocations: 57.69 kB / 0.9654 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.1619, allocations: 119.8 kB / 0.9655 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1619, allocations: 41.38 kB / 0.9655 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.1619, allocations: 0 / 0.9655 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0003937/0.1623, allocations: 217.2 kB / 0.9657 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1623, allocations: 59.34 kB / 0.9658 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1626, allocations: 362.7 kB / 0.9661 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1626, allocations: 33.7 kB / 0.9662 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1627, allocations: 263.3 kB / 0.9664 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1628, allocations: 79.27 kB / 0.9665 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1628, allocations: 63.31 kB / 0.9666 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1629, allocations: 0.5158 MB / 0.9671 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/0.163, allocations: 31.92 kB / 0.9671 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.1631, allocations: 142.8 kB / 0.9672 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1632, allocations: 128.1 kB / 0.9673 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1632, allocations: 0 / 0.9673 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002215/0.1635, allocations: 193.4 kB / 0.9675 GB, free: 3.105 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1635, allocations: 8 kB / 0.9675 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.1635, allocations: 0 / 0.9675 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1635, allocations: 4 kB / 0.9675 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1636, allocations: 43.92 kB / 0.9676 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1636, allocations: 7.984 kB / 0.9676 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.1637, allocations: 19.84 kB / 0.9676 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1637, allocations: 12 kB / 0.9676 GB, free: 3.012 MB / 0.9167 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.243e-05/0.1638, allocations: 172.5 kB / 0.9678 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.1639, allocations: 39.81 kB / 0.9678 GB, free: 2.793 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1641, allocations: 214.9 kB / 0.968 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1641, allocations: 0 / 0.968 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1641, allocations: 4 kB / 0.968 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1641, allocations: 0 / 0.968 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.1647, allocations: 0.6591 MB / 0.9687 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1647, allocations: 4 kB / 0.9687 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1648, allocations: 40.17 kB / 0.9687 GB, free: 1.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1648, allocations: 4 kB / 0.9687 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1648, allocations: 8 kB / 0.9687 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1648, allocations: 7.875 kB / 0.9687 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1648, allocations: 4 kB / 0.9687 GB, free: 1.781 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1652, allocations: 427.7 kB / 0.9692 GB, free: 1.324 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.1652, allocations: 55.78 kB / 0.9692 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1653, allocations: 3.938 kB / 0.9692 GB, free: 1.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1654, allocations: 15.98 kB / 0.9692 GB, free: 1.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1654, allocations: 23.97 kB / 0.9692 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1654, allocations: 8 kB / 0.9693 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001325/0.1656, allocations: 243.1 kB / 0.9695 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1656, allocations: 0 / 0.9695 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002808/0.1658, allocations: 131.6 kB / 0.9696 GB, free: 0.8555 MB / 0.9167 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.0002293/0.1661, allocations: 187.1 kB / 0.9698 GB, free: 0.6641 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1663, allocations: 129.5 kB / 0.9699 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1663, allocations: 0 / 0.9699 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1664, allocations: 75.53 kB / 0.97 GB, free: 468 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.1669, allocations: 171.3 kB / 0.9701 GB, free: 300 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1682, allocations: 0.8314 MB / 0.971 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.1683, allocations: 112.6 kB / 0.9711 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.1684, allocations: 58.92 kB / 0.9711 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.1685, allocations: 36.5 kB / 0.9712 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of SimCode: time 8.42e-07/0.1685, allocations: 4 kB / 0.9712 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of Templates: time 0.008409/0.1769, allocations: 6.592 MB / 0.9776 GB, free: 8.785 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.0013673750218]