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.0009075/0.0009075, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0008976/0.0008976, allocations: 181 kB / 24.09 MB, free: 416 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.919/0.919, allocations: 177.1 MB / 204.5 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.768/1.768, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.453e-06/1.453e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.959e-05, allocations: 2.312 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1149/0.1149, allocations: 144.7 MB / 0.9533 GB, free: 288 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1173, allocations: 1.744 MB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1176, allocations: 19.81 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.118, allocations: 138.9 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000916/0.1189, allocations: 0.5165 MB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1201, allocations: 0.5299 MB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009672/0.121, allocations: 0.962 MB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.1215, allocations: 279.7 kB / 0.9574 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.1221, allocations: 0.4948 MB / 0.9579 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1224, allocations: 271.2 kB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.1225, allocations: 35.94 kB / 0.9582 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.1231, allocations: 343.1 kB / 0.9585 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1232, allocations: 163.5 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1233, allocations: 163.5 kB / 0.9588 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.124, allocations: 0.5529 MB / 0.9594 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.124, allocations: 0 / 0.9594 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.41e-07/0.124, allocations: 0 / 0.9594 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.124, allocations: 0 / 0.9594 GB, free: 10.08 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.0008999/0.1249, allocations: 0.8106 MB / 0.9601 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.125, allocations: 8.031 kB / 0.9601 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006666/0.1257, allocations: 232 kB / 0.9604 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.126, allocations: 332.8 kB / 0.9607 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.126, allocations: 28.66 kB / 0.9607 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1261, allocations: 28 kB / 0.9607 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.1264, allocations: 340.9 kB / 0.9611 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1264, allocations: 4 kB / 0.9611 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1264, allocations: 8 kB / 0.9611 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1265, allocations: 12 kB / 0.9611 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1266, allocations: 103.3 kB / 0.9612 GB, free: 8.086 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.001078/0.1276, allocations: 1.477 MB / 0.9626 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.1278, allocations: 107 kB / 0.9627 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1279, allocations: 47.66 kB / 0.9628 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.1282, allocations: 103.9 kB / 0.9629 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.1285, allocations: 45.25 kB / 0.9629 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.1285, allocations: 0 / 0.9629 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.000354/0.1288, allocations: 215.7 kB / 0.9631 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1289, allocations: 59.41 kB / 0.9632 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1291, allocations: 366.7 kB / 0.9635 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1291, allocations: 33.64 kB / 0.9636 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1292, allocations: 287 kB / 0.9638 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1293, allocations: 87.25 kB / 0.9639 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.1293, allocations: 67.58 kB / 0.964 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1295, allocations: 0.5234 MB / 0.9645 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.1295, allocations: 28.53 kB / 0.9645 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1296, allocations: 189.3 kB / 0.9647 GB, free: 4.277 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1298, allocations: 172.6 kB / 0.9649 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1298, allocations: 4 kB / 0.9649 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002268/0.13, allocations: 223.4 kB / 0.9651 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.13, allocations: 4 kB / 0.9651 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.13, allocations: 4 kB / 0.9651 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.13, allocations: 4 kB / 0.9651 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1302, allocations: 63.91 kB / 0.9652 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1302, allocations: 7.938 kB / 0.9652 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1303, allocations: 31.77 kB / 0.9652 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1303, allocations: 12 kB / 0.9652 GB, free: 3.715 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.888e-05/0.1304, allocations: 172.7 kB / 0.9654 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1304, allocations: 47.7 kB / 0.9654 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1306, allocations: 181.3 kB / 0.9656 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1307, allocations: 0 / 0.9656 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1307, allocations: 0 / 0.9656 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1307, allocations: 0 / 0.9656 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.1312, allocations: 0.5842 MB / 0.9662 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1312, allocations: 4.031 kB / 0.9662 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1313, allocations: 47.92 kB / 0.9662 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1313, allocations: 4 kB / 0.9662 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1314, allocations: 0 / 0.9662 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1314, allocations: 8 kB / 0.9662 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1314, allocations: 4 kB / 0.9662 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1317, allocations: 411.2 kB / 0.9666 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.1317, allocations: 55.81 kB / 0.9667 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1318, allocations: 8 kB / 0.9667 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1319, allocations: 15.98 kB / 0.9667 GB, free: 2.074 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.1319, allocations: 27.89 kB / 0.9667 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1319, allocations: 11.94 kB / 0.9667 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001092/0.132, allocations: 243 kB / 0.967 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.132, allocations: 0 / 0.967 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003316/0.1324, allocations: 123.7 kB / 0.9671 GB, free: 1.68 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.0002221/0.1326, allocations: 155.1 kB / 0.9672 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.1328, allocations: 127.4 kB / 0.9674 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1328, allocations: 0 / 0.9674 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.1328, allocations: 71.5 kB / 0.9674 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.1333, allocations: 168.6 kB / 0.9676 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1346, allocations: 0.8227 MB / 0.9684 GB, free: 280 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.1346, allocations: 117.3 kB / 0.9685 GB, free: 140 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.1348, allocations: 51.27 kB / 0.9685 GB, free: 88 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.1351, allocations: 202.1 kB / 0.9687 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of SimCode: time 7.31e-07/0.1351, allocations: 0 / 0.9687 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of Templates: time 0.009381/0.1445, allocations: 6.918 MB / 0.9755 GB, free: 9.152 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.954134055878967]