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.001187/0.001187, 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.001029/0.001029, 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.894/0.894, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.795/1.795, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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.262e-06/1.262e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.433e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1229/0.123, allocations: 147.5 MB / 0.9555 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1248, allocations: 1.749 MB / 0.9572 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.125, allocations: 23.81 kB / 0.9572 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1255, allocations: 146.9 kB / 0.9574 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.1262, allocations: 0.5165 MB / 0.9579 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.1269, allocations: 0.5104 MB / 0.9584 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007171/0.1276, allocations: 0.9698 MB / 0.9593 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.1279, allocations: 275.7 kB / 0.9596 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.1283, allocations: 478.7 kB / 0.9601 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1286, allocations: 271.2 kB / 0.9603 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.1286, allocations: 32 kB / 0.9603 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.129, allocations: 371.1 kB / 0.9607 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1291, allocations: 163.5 kB / 0.9608 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1292, allocations: 167.6 kB / 0.961 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.1298, allocations: 0.5684 MB / 0.9616 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1298, allocations: 0 / 0.9616 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1298, allocations: 0 / 0.9616 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1298, allocations: 0 / 0.9616 GB, free: 7.582 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.001039/0.1308, allocations: 0.8107 MB / 0.9624 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1309, allocations: 12.03 kB / 0.9624 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.1315, allocations: 243.9 kB / 0.9626 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.1319, allocations: 338.9 kB / 0.9629 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1319, allocations: 20.66 kB / 0.9629 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.132, allocations: 32 kB / 0.963 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.1324, allocations: 356.9 kB / 0.9633 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1324, allocations: 8 kB / 0.9633 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1324, allocations: 8 kB / 0.9633 GB, free: 5.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1324, allocations: 12 kB / 0.9633 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1326, allocations: 126.8 kB / 0.9635 GB, free: 5.527 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.001048/0.1336, allocations: 1.546 MB / 0.965 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.1338, allocations: 128.2 kB / 0.9651 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.1339, allocations: 51.61 kB / 0.9651 GB, free: 3.723 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.1342, allocations: 103.9 kB / 0.9652 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1342, allocations: 45.25 kB / 0.9653 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.1342, allocations: 0 / 0.9653 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0003845/0.1346, allocations: 219.7 kB / 0.9655 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.1346, allocations: 51.41 kB / 0.9655 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1348, allocations: 358.7 kB / 0.9659 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1349, allocations: 29.7 kB / 0.9659 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.135, allocations: 271.2 kB / 0.9662 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.135, allocations: 83.28 kB / 0.9663 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.1351, allocations: 55.55 kB / 0.9663 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1352, allocations: 0.5274 MB / 0.9668 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1352, allocations: 28.56 kB / 0.9668 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.1353, allocations: 140.9 kB / 0.967 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1355, allocations: 128.7 kB / 0.9671 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1355, allocations: 4 kB / 0.9671 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002168/0.1357, allocations: 187.2 kB / 0.9673 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1357, allocations: 4 kB / 0.9673 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1357, allocations: 0 / 0.9673 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1357, allocations: 4 kB / 0.9673 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1359, allocations: 51.97 kB / 0.9673 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1359, allocations: 8 kB / 0.9674 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1359, allocations: 23.84 kB / 0.9674 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.136, allocations: 8 kB / 0.9674 GB, free: 1.305 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.322e-05/0.1361, allocations: 172.5 kB / 0.9675 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.1361, allocations: 47.75 kB / 0.9676 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1363, allocations: 193 kB / 0.9678 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1363, allocations: 4 kB / 0.9678 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1363, allocations: 0 / 0.9678 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1363, allocations: 3.984 kB / 0.9678 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1369, allocations: 0.6579 MB / 0.9684 GB, free: 156 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1369, allocations: 4 kB / 0.9684 GB, free: 152 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.137, allocations: 40.02 kB / 0.9685 GB, free: 112 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.137, allocations: 7.984 kB / 0.9685 GB, free: 104 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1371, allocations: 11.98 kB / 0.9685 GB, free: 92 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1371, allocations: 4 kB / 0.9685 GB, free: 88 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1371, allocations: 4.125 kB / 0.9685 GB, free: 84 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1374, allocations: 424.3 kB / 0.9689 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.1375, allocations: 55.72 kB / 0.969 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1375, allocations: 7.984 kB / 0.969 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1376, allocations: 12 kB / 0.969 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1376, allocations: 27.84 kB / 0.969 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1377, allocations: 8 kB / 0.969 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003876/0.138, allocations: 247.1 kB / 0.9692 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.138, allocations: 0 / 0.9692 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002539/0.1383, allocations: 123.7 kB / 0.9694 GB, free: 15.15 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.0001821/0.1385, allocations: 158.9 kB / 0.9695 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1387, allocations: 119.6 kB / 0.9696 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1387, allocations: 0 / 0.9696 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.1387, allocations: 71.53 kB / 0.9697 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.1392, allocations: 173.6 kB / 0.9699 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1404, allocations: 0.8293 MB / 0.9707 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.1405, allocations: 108.6 kB / 0.9708 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.1406, allocations: 70.84 kB / 0.9708 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1407, allocations: 32.5 kB / 0.9709 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of SimCode: time 7.31e-07/0.1407, allocations: 0 / 0.9709 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of Templates: time 0.007947/0.1486, allocations: 6.263 MB / 0.977 GB, free: 7.449 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.065607290714979]