Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.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.001282/0.001282, 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.00161/0.00161, allocations: 181 kB / 24.09 MB, free: 420 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.9654/0.9654, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.765/1.765, allocations: 359 MB / 0.6055 GB, free: 10.87 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.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp.port_a.m_flow|senRelPre.p_rel|senPre_a.p|senPre_b.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.336e-05, allocations: 3.125 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1355/0.1355, allocations: 144 MB / 0.9282 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1379, allocations: 1.731 MB / 0.9299 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.1382, allocations: 19.81 kB / 0.93 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1386, allocations: 127.1 kB / 0.9301 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.1393, allocations: 389.7 kB / 0.9305 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.14, allocations: 430.7 kB / 0.9309 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0007343/0.1408, allocations: 0.7126 MB / 0.9316 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1411, allocations: 219.6 kB / 0.9318 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.1416, allocations: 430.8 kB / 0.9322 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1418, allocations: 191.4 kB / 0.9324 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1418, allocations: 20 kB / 0.9324 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.1423, allocations: 438.9 kB / 0.9328 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.1424, allocations: 115.6 kB / 0.9329 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.1425, allocations: 99.78 kB / 0.933 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.143, allocations: 458.5 kB / 0.9334 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.143, allocations: 0 / 0.9334 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.523e-06/0.143, allocations: 0 / 0.9334 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.143, allocations: 0 / 0.9334 GB, free: 6.297 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005951/0.1436, allocations: 0.6669 MB / 0.9341 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1436, allocations: 11.97 kB / 0.9341 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.1439, allocations: 92.48 kB / 0.9342 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1441, allocations: 270.1 kB / 0.9344 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1442, allocations: 16.88 kB / 0.9345 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1442, allocations: 27.94 kB / 0.9345 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.1444, allocations: 261.2 kB / 0.9347 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1444, allocations: 7.938 kB / 0.9347 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1444, allocations: 12 kB / 0.9348 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1444, allocations: 8 kB / 0.9348 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.066e-05/0.1445, allocations: 59.83 kB / 0.9348 GB, free: 4.758 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.0009719/0.1455, allocations: 1.895 MB / 0.9367 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1456, allocations: 70.97 kB / 0.9367 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.1456, allocations: 35.59 kB / 0.9368 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.1457, allocations: 20 kB / 0.9368 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1457, allocations: 33.39 kB / 0.9368 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1457, allocations: 0 / 0.9368 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0002385/0.146, allocations: 129.3 kB / 0.937 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.146, allocations: 51.41 kB / 0.937 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1462, allocations: 326.1 kB / 0.9373 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1462, allocations: 29.7 kB / 0.9373 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1463, allocations: 254.8 kB / 0.9376 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1463, allocations: 43.64 kB / 0.9376 GB, free: 1.734 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.1464, allocations: 51.34 kB / 0.9377 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1465, allocations: 0.5079 MB / 0.9382 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.1465, allocations: 27.67 kB / 0.9382 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1466, allocations: 313.9 kB / 0.9385 GB, free: 0.7148 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1468, allocations: 198.7 kB / 0.9387 GB, free: 464 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1468, allocations: 0 / 0.9387 GB, free: 464 kB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001801/0.147, allocations: 189.1 kB / 0.9389 GB, free: 268 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.147, allocations: 7.938 kB / 0.9389 GB, free: 260 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.147, allocations: 4 kB / 0.9389 GB, free: 256 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.147, allocations: 4 kB / 0.9389 GB, free: 252 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.1471, allocations: 43.92 kB / 0.9389 GB, free: 208 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1471, allocations: 8.391 kB / 0.9389 GB, free: 200 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.1472, allocations: 27.89 kB / 0.939 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1472, allocations: 11.94 kB / 0.939 GB, free: 160 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.201e-05/0.1473, allocations: 150.7 kB / 0.9391 GB, free: 4 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.1474, allocations: 314.8 kB / 0.9394 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001178/0.1475, allocations: 202.9 kB / 0.9396 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.1475, allocations: 0 / 0.9396 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001556/0.1477, allocations: 185.1 kB / 0.9398 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.1477, allocations: 8 kB / 0.9398 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.1477, allocations: 4 kB / 0.9398 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.1477, allocations: 4 kB / 0.9398 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.1478, allocations: 43.92 kB / 0.9398 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1478, allocations: 11.98 kB / 0.9398 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.1479, allocations: 19.89 kB / 0.9399 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1479, allocations: 8 kB / 0.9399 GB, free: 15.04 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 9.196e-05/0.148, allocations: 292.2 kB / 0.9402 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.148, allocations: 27.8 kB / 0.9402 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1481, allocations: 103.5 kB / 0.9403 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1481, allocations: 0 / 0.9403 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1481, allocations: 7.938 kB / 0.9403 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1481, allocations: 0 / 0.9403 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.1485, allocations: 483.5 kB / 0.9407 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1485, allocations: 7.984 kB / 0.9408 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.1485, allocations: 19.94 kB / 0.9408 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1485, allocations: 4.125 kB / 0.9408 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1486, allocations: 8 kB / 0.9408 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1486, allocations: 7.984 kB / 0.9408 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1486, allocations: 7.984 kB / 0.9408 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.1487, allocations: 301.5 kB / 0.9411 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1487, allocations: 35.73 kB / 0.9411 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1488, allocations: 8.094 kB / 0.9411 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.1488, allocations: 11.98 kB / 0.9411 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1489, allocations: 16.11 kB / 0.9412 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1489, allocations: 4 kB / 0.9412 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.945e-05/0.149, allocations: 210.9 kB / 0.9414 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.149, allocations: 3.938 kB / 0.9414 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003521/0.1493, allocations: 139.7 kB / 0.9415 GB, free: 13.25 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0001712/0.1495, allocations: 147 kB / 0.9416 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1497, allocations: 166.4 kB / 0.9418 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.1497, allocations: 0 / 0.9418 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.1497, allocations: 36.17 kB / 0.9418 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1501, allocations: 93.25 kB / 0.9419 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.1507, allocations: 0.5045 MB / 0.9424 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.1508, allocations: 92.61 kB / 0.9425 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000115/0.1509, allocations: 38.28 kB / 0.9425 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.1511, allocations: 150.1 kB / 0.9427 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.1511, allocations: 0 / 0.9427 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of Templates: time 0.006016/0.1571, allocations: 4.319 MB / 0.9469 GB, free: 7.727 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Pressure.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.224017632193863]