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.0007967/0.0007967, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009251/0.0009251, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9379/0.9379, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.758/1.758, allocations: 359 MB / 0.6052 GB, free: 11.02 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.834e-06/1.834e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.186e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1393/0.1393, allocations: 147.4 MB / 0.9311 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.1419, allocations: 1.734 MB / 0.9328 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003311/0.1423, allocations: 19.81 kB / 0.9328 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.1428, allocations: 142.9 kB / 0.9329 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.144, allocations: 0.5204 MB / 0.9334 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.145, allocations: 0.522 MB / 0.9339 GB, free: 5.637 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008817/0.1459, allocations: 0.9699 MB / 0.9349 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.1462, allocations: 283.7 kB / 0.9352 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.1467, allocations: 478.8 kB / 0.9356 GB, free: 3.91 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.147, allocations: 279.1 kB / 0.9359 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.147, allocations: 36 kB / 0.9359 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.1475, allocations: 367 kB / 0.9363 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1476, allocations: 159.5 kB / 0.9364 GB, free: 3.086 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1477, allocations: 159.6 kB / 0.9366 GB, free: 2.93 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.1484, allocations: 0.5801 MB / 0.9371 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1484, allocations: 0 / 0.9371 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1484, allocations: 0 / 0.9371 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1484, allocations: 0 / 0.9371 GB, free: 2.348 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.0009034/0.1493, allocations: 0.7991 MB / 0.9379 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1494, allocations: 8.031 kB / 0.9379 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007257/0.1501, allocations: 247.9 kB / 0.9382 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.1505, allocations: 342.8 kB / 0.9385 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1505, allocations: 28.64 kB / 0.9385 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.1505, allocations: 36 kB / 0.9385 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1509, allocations: 352.9 kB / 0.9389 GB, free: 452 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.151, allocations: 0 / 0.9389 GB, free: 452 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.151, allocations: 19.98 kB / 0.9389 GB, free: 432 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.151, allocations: 8 kB / 0.9389 GB, free: 424 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1512, allocations: 122.8 kB / 0.939 GB, free: 304 kB / 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.001273/0.1525, allocations: 1.55 MB / 0.9405 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1527, allocations: 123 kB / 0.9407 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.1527, allocations: 55.66 kB / 0.9407 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.1531, allocations: 103.8 kB / 0.9408 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1531, allocations: 45.33 kB / 0.9409 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.1531, allocations: 0 / 0.9409 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23): time 0.0004203/0.1535, allocations: 217.2 kB / 0.9411 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1535, allocations: 55.41 kB / 0.9411 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1538, allocations: 362.7 kB / 0.9415 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1538, allocations: 33.7 kB / 0.9415 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.1539, allocations: 259.3 kB / 0.9417 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.154, allocations: 87.27 kB / 0.9418 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.154, allocations: 59.55 kB / 0.9419 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1542, allocations: 0.5118 MB / 0.9424 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.1542, allocations: 36.44 kB / 0.9424 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1543, allocations: 139.7 kB / 0.9425 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1545, allocations: 134.6 kB / 0.9427 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1545, allocations: 0 / 0.9427 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002449/0.1547, allocations: 191.1 kB / 0.9429 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1547, allocations: 7.938 kB / 0.9429 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1547, allocations: 4 kB / 0.9429 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1548, allocations: 0 / 0.9429 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1549, allocations: 51.92 kB / 0.9429 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1549, allocations: 0 / 0.9429 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.155, allocations: 27.83 kB / 0.9429 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.155, allocations: 8 kB / 0.9429 GB, free: 12.06 MB / 0.9011 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.298e-05/0.1551, allocations: 172.5 kB / 0.9431 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1551, allocations: 43.75 kB / 0.9432 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.1554, allocations: 207.6 kB / 0.9434 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1554, allocations: 4 kB / 0.9434 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1554, allocations: 0 / 0.9434 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1554, allocations: 0 / 0.9434 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.156, allocations: 0.6653 MB / 0.944 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.156, allocations: 0 / 0.944 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1562, allocations: 47.91 kB / 0.9441 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1562, allocations: 0 / 0.9441 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1562, allocations: 8 kB / 0.9441 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1562, allocations: 4 kB / 0.9441 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1562, allocations: 0 / 0.9441 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.1568, allocations: 425.5 kB / 0.9445 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.1569, allocations: 51.72 kB / 0.9445 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1569, allocations: 12.09 kB / 0.9445 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.157, allocations: 8 kB / 0.9445 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1571, allocations: 31.83 kB / 0.9446 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1571, allocations: 8 kB / 0.9446 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001367/0.1572, allocations: 243.1 kB / 0.9448 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1572, allocations: 0 / 0.9448 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002678/0.1575, allocations: 131.6 kB / 0.9449 GB, free: 9.906 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.0002348/0.1577, allocations: 147.1 kB / 0.9451 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.1579, allocations: 126.7 kB / 0.9452 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1579, allocations: 0 / 0.9452 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.158, allocations: 83.45 kB / 0.9453 GB, free: 9.543 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.1585, allocations: 163.3 kB / 0.9454 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1598, allocations: 0.8235 MB / 0.9462 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.1598, allocations: 112.6 kB / 0.9463 GB, free: 8.379 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000125/0.1599, allocations: 66.92 kB / 0.9464 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.16, allocations: 32.5 kB / 0.9464 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of SimCode: time 7.71e-07/0.16, allocations: 4 kB / 0.9464 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of Templates: time 0.009559/0.1696, allocations: 6.251 MB / 0.9525 GB, free: 2.219 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: 5.344860285054892]