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.001022/0.001022, allocations: 81.86 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.0009622/0.0009622, 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.8711/0.8711, 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 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.678/1.678, allocations: 359 MB / 0.6055 GB, free: 10.89 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.453e-06/1.453e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.969e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1356/0.1357, allocations: 144.7 MB / 0.9288 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1376, allocations: 1.743 MB / 0.9305 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1378, allocations: 19.81 kB / 0.9306 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.1382, allocations: 138.9 kB / 0.9307 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.1389, allocations: 0.5204 MB / 0.9312 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.1396, allocations: 0.5259 MB / 0.9317 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.1402, allocations: 0.9699 MB / 0.9327 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.1405, allocations: 275.7 kB / 0.9329 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.141, allocations: 0.5065 MB / 0.9334 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1412, allocations: 279.2 kB / 0.9337 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1412, allocations: 32 kB / 0.9337 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.1416, allocations: 347.1 kB / 0.9341 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1417, allocations: 151.5 kB / 0.9342 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1418, allocations: 171.6 kB / 0.9344 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.1424, allocations: 0.5606 MB / 0.9349 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1424, allocations: 0 / 0.9349 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1424, allocations: 0 / 0.9349 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.1424, allocations: 4 kB / 0.9349 GB, free: 4.793 MB / 0.8855 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.0006823/0.1431, allocations: 0.7989 MB / 0.9357 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1432, allocations: 12.03 kB / 0.9357 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.1438, allocations: 236 kB / 0.9359 GB, free: 3.715 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.144, allocations: 324.8 kB / 0.9362 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1441, allocations: 24.66 kB / 0.9363 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.1441, allocations: 36 kB / 0.9363 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1444, allocations: 340.9 kB / 0.9366 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1444, allocations: 0 / 0.9366 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1444, allocations: 12 kB / 0.9366 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.1444, allocations: 12 kB / 0.9366 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1445, allocations: 95.34 kB / 0.9367 GB, free: 2.816 MB / 0.8855 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.0009035/0.1454, allocations: 1.469 MB / 0.9382 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1456, allocations: 119 kB / 0.9383 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.1456, allocations: 49.7 kB / 0.9383 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.1459, allocations: 107.8 kB / 0.9384 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1459, allocations: 45.38 kB / 0.9385 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.1459, allocations: 0 / 0.9385 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.0003038/0.1462, allocations: 205.1 kB / 0.9387 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.1462, allocations: 59.34 kB / 0.9387 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1464, allocations: 378.5 kB / 0.9391 GB, free: 288 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1464, allocations: 29.81 kB / 0.9391 GB, free: 252 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1465, allocations: 291 kB / 0.9394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.1466, allocations: 87.25 kB / 0.9395 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.1466, allocations: 67.56 kB / 0.9395 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1468, allocations: 0.5235 MB / 0.9401 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.606e-05/0.1468, allocations: 24.55 kB / 0.9401 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.1469, allocations: 193.8 kB / 0.9403 GB, free: 15 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.147, allocations: 174.4 kB / 0.9404 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.147, allocations: 0 / 0.9404 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000198/0.1472, allocations: 231 kB / 0.9407 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1472, allocations: 4 kB / 0.9407 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1472, allocations: 4 kB / 0.9407 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1473, allocations: 4 kB / 0.9407 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1474, allocations: 59.91 kB / 0.9407 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1474, allocations: 4 kB / 0.9407 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.1475, allocations: 27.84 kB / 0.9407 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1475, allocations: 8 kB / 0.9408 GB, free: 14.45 MB / 0.9011 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 8.596e-05/0.1476, allocations: 172.5 kB / 0.9409 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.1476, allocations: 55.8 kB / 0.941 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.1478, allocations: 187.6 kB / 0.9412 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1478, allocations: 4 kB / 0.9412 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1478, allocations: 0 / 0.9412 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1478, allocations: 0 / 0.9412 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.1484, allocations: 0.595 MB / 0.9417 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1484, allocations: 192 / 0.9417 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1485, allocations: 51.91 kB / 0.9418 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1485, allocations: 0 / 0.9418 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1485, allocations: 8 kB / 0.9418 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1485, allocations: 4 kB / 0.9418 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1485, allocations: 0 / 0.9418 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1488, allocations: 401.5 kB / 0.9422 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.1489, allocations: 55.72 kB / 0.9422 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1489, allocations: 4 kB / 0.9422 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.149, allocations: 12 kB / 0.9423 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.149, allocations: 23.91 kB / 0.9423 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.149, allocations: 8 kB / 0.9423 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 9.973e-05/0.1491, allocations: 247 kB / 0.9425 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1491, allocations: 3.938 kB / 0.9425 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000256/0.1494, allocations: 131.6 kB / 0.9426 GB, free: 12.39 MB / 0.9011 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.0001612/0.1495, allocations: 147.2 kB / 0.9428 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1497, allocations: 138.4 kB / 0.9429 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1497, allocations: 0 / 0.9429 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.1498, allocations: 67.52 kB / 0.943 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1502, allocations: 179.7 kB / 0.9432 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1512, allocations: 0.8138 MB / 0.9439 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.1513, allocations: 121.3 kB / 0.9441 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.1514, allocations: 51.25 kB / 0.9441 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.1516, allocations: 202.1 kB / 0.9443 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of SimCode: time 5.91e-07/0.1516, allocations: 0 / 0.9443 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.008304/0.1599, allocations: 6.913 MB / 0.9511 GB, free: 3.859 MB / 0.9011 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: 4.879017727915198]