Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009585/0.0009585, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009632/0.0009632, allocations: 164.6 kB / 24.86 MB, free: 8.891 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.8959/0.8959, allocations: 177.2 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.9 MB / 0.6247 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.325e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1269/0.1269, allocations: 144.7 MB / 0.9541 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1292, allocations: 1.74 MB / 0.9558 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1295, allocations: 19.88 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.13, allocations: 142.9 kB / 0.9559 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008391/0.1308, allocations: 0.5126 MB / 0.9564 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.1316, allocations: 0.5221 MB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009634/0.1326, allocations: 0.9659 MB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.1329, allocations: 275.7 kB / 0.9582 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.1334, allocations: 0.5104 MB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.1337, allocations: 263.2 kB / 0.9589 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.1338, allocations: 32 kB / 0.9589 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.1342, allocations: 335.2 kB / 0.9593 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1343, allocations: 163.5 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1344, allocations: 167.6 kB / 0.9596 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.135, allocations: 0.5567 MB / 0.9601 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.135, allocations: 4 kB / 0.9601 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.91e-07/0.135, allocations: 0 / 0.9601 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.135, allocations: 0 / 0.9601 GB, free: 10.04 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.0008001/0.1358, allocations: 0.799 MB / 0.9609 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1359, allocations: 12.03 kB / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/0.1365, allocations: 240 kB / 0.9611 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1369, allocations: 328.8 kB / 0.9615 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1369, allocations: 24.64 kB / 0.9615 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1369, allocations: 35.94 kB / 0.9615 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.1372, allocations: 336.9 kB / 0.9618 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1372, allocations: 7.922 kB / 0.9618 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1373, allocations: 16 kB / 0.9619 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.1373, allocations: 8 kB / 0.9619 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1374, allocations: 99.34 kB / 0.962 GB, free: 8.047 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.001011/0.1384, allocations: 1.469 MB / 0.9634 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1386, allocations: 117.6 kB / 0.9635 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.1386, allocations: 43.66 kB / 0.9636 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.1389, allocations: 107.8 kB / 0.9637 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1389, allocations: 41.25 kB / 0.9637 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.532e-06/0.1389, allocations: 0 / 0.9637 GB, free: 6.191 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0003416/0.1392, allocations: 205.1 kB / 0.9639 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1393, allocations: 55.41 kB / 0.9639 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1396, allocations: 374.6 kB / 0.9643 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1396, allocations: 29.7 kB / 0.9643 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1397, allocations: 287 kB / 0.9646 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1397, allocations: 87.25 kB / 0.9647 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.1398, allocations: 71.56 kB / 0.9648 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1399, allocations: 0.5195 MB / 0.9653 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.14, allocations: 28.48 kB / 0.9653 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1401, allocations: 189.3 kB / 0.9655 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1402, allocations: 186.6 kB / 0.9656 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1402, allocations: 112 / 0.9656 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002233/0.1405, allocations: 229 kB / 0.9659 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1405, allocations: 4 kB / 0.9659 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1405, allocations: 8.219 kB / 0.9659 GB, free: 3.785 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.1405, allocations: 4 kB / 0.9659 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1406, allocations: 59.91 kB / 0.9659 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1406, allocations: 4 kB / 0.9659 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1407, allocations: 27.78 kB / 0.966 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1407, allocations: 12 kB / 0.966 GB, free: 3.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 34 * 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.643e-05/0.1408, allocations: 168.5 kB / 0.9661 GB, free: 3.504 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.1409, allocations: 51.7 kB / 0.9662 GB, free: 3.453 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.1411, allocations: 184 kB / 0.9664 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1411, allocations: 4 kB / 0.9664 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1411, allocations: 0 / 0.9664 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1411, allocations: 4 kB / 0.9664 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.1416, allocations: 0.5878 MB / 0.9669 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1416, allocations: 4 kB / 0.967 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1418, allocations: 35.98 kB / 0.967 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1418, allocations: 8.172 kB / 0.967 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1418, allocations: 12 kB / 0.967 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1418, allocations: 3.938 kB / 0.967 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1418, allocations: 4 kB / 0.967 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.1421, allocations: 401.4 kB / 0.9674 GB, free: 2.113 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.1421, allocations: 59.66 kB / 0.9675 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1422, allocations: 8 kB / 0.9675 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1423, allocations: 8 kB / 0.9675 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1423, allocations: 23.91 kB / 0.9675 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1423, allocations: 12 kB / 0.9675 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001102/0.1424, allocations: 243 kB / 0.9677 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.1424, allocations: 0 / 0.9677 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002907/0.1427, allocations: 131.7 kB / 0.9679 GB, free: 1.641 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.0001912/0.1429, allocations: 151 kB / 0.968 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.1431, allocations: 130.2 kB / 0.9681 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1431, allocations: 3.938 kB / 0.9681 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.1432, allocations: 71.52 kB / 0.9682 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1437, allocations: 159.6 kB / 0.9684 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.1448, allocations: 0.8174 MB / 0.9691 GB, free: 252 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.476e-05/0.1449, allocations: 117.3 kB / 0.9693 GB, free: 112 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.1451, allocations: 55.25 kB / 0.9693 GB, free: 56 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.1454, allocations: 202.1 kB / 0.9695 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of SimCode: time 8.51e-07/0.1454, allocations: 0 / 0.9695 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.008958/0.1543, allocations: 7.018 MB / 0.9764 GB, free: 9.043 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.0178145919926465]