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.001032/0.001032, 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.001062/0.001062, 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.991/0.991, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.812/1.812, 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.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.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.022e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1412/0.1412, allocations: 146.8 MB / 0.9305 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.1445, allocations: 1.749 MB / 0.9322 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.1449, allocations: 23.81 kB / 0.9322 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.1454, allocations: 119.1 kB / 0.9323 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1465, allocations: 385.8 kB / 0.9327 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1475, allocations: 426.6 kB / 0.9331 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.1486, allocations: 0.7165 MB / 0.9338 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.149, allocations: 215.7 kB / 0.934 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007862/0.1498, allocations: 410.8 kB / 0.9344 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.15, allocations: 195.4 kB / 0.9346 GB, free: 5 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1501, allocations: 16 kB / 0.9346 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.1506, allocations: 462.8 kB / 0.935 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.1507, allocations: 115.6 kB / 0.9351 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.1508, allocations: 107.8 kB / 0.9352 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.1514, allocations: 466.4 kB / 0.9357 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1514, allocations: 3.938 kB / 0.9357 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1514, allocations: 0 / 0.9357 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1514, allocations: 0 / 0.9357 GB, free: 3.852 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.0006841/0.1521, allocations: 0.663 MB / 0.9363 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1521, allocations: 12.03 kB / 0.9363 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.1524, allocations: 100.5 kB / 0.9364 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1527, allocations: 271.6 kB / 0.9367 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1527, allocations: 28.56 kB / 0.9367 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1528, allocations: 24 kB / 0.9367 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.153, allocations: 281.2 kB / 0.937 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1531, allocations: 4 kB / 0.937 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1531, allocations: 8 kB / 0.937 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1531, allocations: 8 kB / 0.937 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1532, allocations: 79.81 kB / 0.9371 GB, free: 2.273 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.0011/0.1543, allocations: 1.957 MB / 0.939 GB, free: 232 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1545, allocations: 55.08 kB / 0.9391 GB, free: 164 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.1545, allocations: 39.72 kB / 0.9391 GB, free: 120 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1546, allocations: 15.98 kB / 0.9391 GB, free: 104 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1546, allocations: 33.39 kB / 0.9391 GB, free: 60 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1546, allocations: 0 / 0.9391 GB, free: 60 kB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0003153/0.155, allocations: 137.3 kB / 0.9393 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.155, allocations: 59.41 kB / 0.9393 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1552, allocations: 322.2 kB / 0.9396 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1552, allocations: 25.7 kB / 0.9397 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1553, allocations: 254.8 kB / 0.9399 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1553, allocations: 43.64 kB / 0.94 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.1554, allocations: 51.36 kB / 0.94 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1555, allocations: 0.5117 MB / 0.9405 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.1556, allocations: 23.69 kB / 0.9405 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.1558, allocations: 393.5 kB / 0.9409 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1561, allocations: 202.8 kB / 0.9411 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.1561, allocations: 4 kB / 0.9411 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002231/0.1563, allocations: 197.1 kB / 0.9413 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1563, allocations: 8 kB / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1563, allocations: 4 kB / 0.9413 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.1564, allocations: 4 kB / 0.9413 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1565, allocations: 39.92 kB / 0.9413 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1565, allocations: 12.39 kB / 0.9413 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1566, allocations: 23.89 kB / 0.9414 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1566, allocations: 12 kB / 0.9414 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.021e-05/0.1567, allocations: 154.7 kB / 0.9415 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000178/0.1569, allocations: 385.6 kB / 0.9419 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001439/0.157, allocations: 206.8 kB / 0.9421 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.157, allocations: 3.938 kB / 0.9421 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001992/0.1572, allocations: 197.1 kB / 0.9423 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.1572, allocations: 5.875 kB / 0.9423 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1572, allocations: 4 kB / 0.9423 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.1572, allocations: 7.984 kB / 0.9423 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.1573, allocations: 43.92 kB / 0.9423 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1573, allocations: 7.938 kB / 0.9424 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.1574, allocations: 23.89 kB / 0.9424 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1574, allocations: 12.3 kB / 0.9424 GB, free: 12.26 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.407e-05/0.1575, allocations: 292 kB / 0.9427 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1576, allocations: 27.86 kB / 0.9427 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1577, allocations: 99.56 kB / 0.9428 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1577, allocations: 288 / 0.9428 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1577, allocations: 0 / 0.9428 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1577, allocations: 0 / 0.9428 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1582, allocations: 0.5418 MB / 0.9433 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1582, allocations: 7.922 kB / 0.9433 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.1583, allocations: 23.94 kB / 0.9433 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1583, allocations: 4 kB / 0.9434 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1583, allocations: 4 kB / 0.9434 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1583, allocations: 11.92 kB / 0.9434 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1583, allocations: 0 / 0.9434 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1585, allocations: 305.5 kB / 0.9437 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1585, allocations: 35.8 kB / 0.9437 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1585, allocations: 8.125 kB / 0.9437 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1586, allocations: 11.92 kB / 0.9437 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1586, allocations: 19.92 kB / 0.9437 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1586, allocations: 4 kB / 0.9437 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001107/0.1588, allocations: 215 kB / 0.9439 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1588, allocations: 0 / 0.9439 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003747/0.1591, allocations: 143.7 kB / 0.9441 GB, free: 10.39 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.000253/0.1594, allocations: 150.9 kB / 0.9442 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.1596, allocations: 170.7 kB / 0.9444 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1596, allocations: 0 / 0.9444 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.793e-05/0.1597, allocations: 39.92 kB / 0.9444 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.1601, allocations: 102.4 kB / 0.9445 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008412/0.161, allocations: 0.4968 MB / 0.945 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.161, allocations: 96.61 kB / 0.9451 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.1612, allocations: 74.91 kB / 0.9452 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1612, allocations: 28.48 kB / 0.9452 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of SimCode: time 1.002e-06/0.1612, allocations: 3.938 kB / 0.9452 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of Templates: time 0.00642/0.1676, allocations: 4.049 MB / 0.9492 GB, free: 5.227 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.638807540759444]