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.0009448/0.0009448, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009462/0.0009462, allocations: 161 kB / 23.82 MB, free: 0.75 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.8911/0.8911, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.731/1.731, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 2.174e-06/2.174e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.715e-05, allocations: 4.188 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1238/0.1238, allocations: 147.5 MB / 0.9555 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1259, allocations: 1.741 MB / 0.9572 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1261, allocations: 19.81 kB / 0.9572 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.1265, allocations: 150.8 kB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.1273, allocations: 0.5087 MB / 0.9579 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.128, allocations: 0.5259 MB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.1288, allocations: 0.9582 MB / 0.9593 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.1294, allocations: 287.6 kB / 0.9596 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.1298, allocations: 0.5026 MB / 0.9601 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1301, allocations: 267.2 kB / 0.9604 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.1301, allocations: 32 kB / 0.9604 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.1305, allocations: 347.1 kB / 0.9607 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1306, allocations: 155.5 kB / 0.9609 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1308, allocations: 171.5 kB / 0.961 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.1313, allocations: 0.5451 MB / 0.9616 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1313, allocations: 0 / 0.9616 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1313, allocations: 0 / 0.9616 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1313, allocations: 4 kB / 0.9616 GB, free: 7.605 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.0007609/0.1321, allocations: 0.799 MB / 0.9623 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1321, allocations: 8.031 kB / 0.9624 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006521/0.1328, allocations: 240 kB / 0.9626 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1331, allocations: 336.8 kB / 0.9629 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1331, allocations: 20.66 kB / 0.9629 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.1331, allocations: 32 kB / 0.963 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1335, allocations: 356.9 kB / 0.9633 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1335, allocations: 8 kB / 0.9633 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1335, allocations: 16 kB / 0.9633 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1336, allocations: 8 kB / 0.9633 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1337, allocations: 126.7 kB / 0.9634 GB, free: 5.566 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.00104/0.1348, allocations: 1.535 MB / 0.9649 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1349, allocations: 121.7 kB / 0.9651 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.723e-05/0.135, allocations: 55.66 kB / 0.9651 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.1353, allocations: 107.9 kB / 0.9652 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1353, allocations: 45.25 kB / 0.9653 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.1353, allocations: 0 / 0.9653 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0003695/0.1357, allocations: 229.1 kB / 0.9655 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.1357, allocations: 55.41 kB / 0.9655 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1359, allocations: 370.8 kB / 0.9659 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.136, allocations: 29.7 kB / 0.9659 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1361, allocations: 283.1 kB / 0.9662 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.1361, allocations: 91.25 kB / 0.9663 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.1362, allocations: 67.59 kB / 0.9663 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003725/0.1366, allocations: 0.5157 MB / 0.9668 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1366, allocations: 36.53 kB / 0.9669 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1367, allocations: 198.4 kB / 0.9671 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1369, allocations: 202.5 kB / 0.9673 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1369, allocations: 8 kB / 0.9673 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002461/0.1371, allocations: 229.2 kB / 0.9675 GB, free: 1.172 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1372, allocations: 8 kB / 0.9675 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1372, allocations: 0 / 0.9675 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1372, allocations: 4.219 kB / 0.9675 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1373, allocations: 67.91 kB / 0.9676 GB, free: 1.094 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1373, allocations: 7.938 kB / 0.9676 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.1374, allocations: 27.78 kB / 0.9676 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1374, allocations: 15.98 kB / 0.9676 GB, free: 1.043 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.107e-05/0.1375, allocations: 172.6 kB / 0.9678 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1376, allocations: 51.64 kB / 0.9678 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1378, allocations: 192.1 kB / 0.968 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1378, allocations: 3.984 kB / 0.968 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1378, allocations: 4 kB / 0.968 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1378, allocations: 4 kB / 0.968 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.1384, allocations: 0.6539 MB / 0.9687 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1384, allocations: 4 kB / 0.9687 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1385, allocations: 39.92 kB / 0.9687 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1385, allocations: 4 kB / 0.9687 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.1385, allocations: 11.98 kB / 0.9687 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1385, allocations: 4.188 kB / 0.9687 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1385, allocations: 4 kB / 0.9687 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1388, allocations: 417.4 kB / 0.9691 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.1389, allocations: 59.67 kB / 0.9692 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1389, allocations: 15.98 kB / 0.9692 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.139, allocations: 8 kB / 0.9692 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1391, allocations: 27.84 kB / 0.9692 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1391, allocations: 8 kB / 0.9692 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001317/0.1392, allocations: 251.1 kB / 0.9695 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 4 kB / 0.9695 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002634/0.1395, allocations: 123.7 kB / 0.9696 GB, free: 14.89 MB / 0.9323 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.000185/0.1397, allocations: 155.2 kB / 0.9697 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1399, allocations: 143.4 kB / 0.9699 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1399, allocations: 0 / 0.9699 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.14, allocations: 75.97 kB / 0.9699 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.1404, allocations: 160.9 kB / 0.9701 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1415, allocations: 0.8176 MB / 0.9709 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.1416, allocations: 121.3 kB / 0.971 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.1418, allocations: 75.2 kB / 0.9711 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.1418, allocations: 32.5 kB / 0.9711 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of SimCode: time 4.51e-07/0.1418, allocations: 0 / 0.9711 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of Templates: time 0.008096/0.1499, allocations: 6.818 MB / 0.9778 GB, free: 6.621 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: 4.825907746329904]