Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009964/0.0009964, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001031/0.001031, allocations: 166 kB / 24.87 MB, free: 9.258 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.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_12_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_12_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.511e-05, allocations: 7.156 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1247/0.1247, allocations: 144.1 MB / 0.9535 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1274, allocations: 1.733 MB / 0.9552 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1277, allocations: 23.75 kB / 0.9552 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.1282, allocations: 123.1 kB / 0.9553 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007904/0.129, allocations: 389.7 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.1299, allocations: 418.8 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.1307, allocations: 0.7165 MB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.131, allocations: 215.6 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.1317, allocations: 426.8 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1319, allocations: 203.3 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.1319, allocations: 20 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000623/0.1326, allocations: 427 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1327, allocations: 115.6 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1328, allocations: 107.8 kB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.1334, allocations: 450.4 kB / 0.9587 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1334, allocations: 4 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1334, allocations: 0 / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1334, allocations: 0 / 0.9587 GB, free: 11.58 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00071/0.1341, allocations: 0.6669 MB / 0.9593 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1341, allocations: 8.031 kB / 0.9593 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.1344, allocations: 96.48 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.1349, allocations: 274.1 kB / 0.9597 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1349, allocations: 16.88 kB / 0.9597 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1349, allocations: 23.94 kB / 0.9597 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.1352, allocations: 269.2 kB / 0.96 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1353, allocations: 0 / 0.96 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1353, allocations: 15.94 kB / 0.96 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1353, allocations: 7.938 kB / 0.96 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1354, allocations: 63.58 kB / 0.9601 GB, free: 10.04 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.001151/0.1365, allocations: 1.891 MB / 0.9619 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1366, allocations: 58.95 kB / 0.962 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.1367, allocations: 31.7 kB / 0.962 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-05/0.1368, allocations: 19.98 kB / 0.962 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1368, allocations: 33.39 kB / 0.962 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1368, allocations: 4 kB / 0.962 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002952/0.1371, allocations: 125.4 kB / 0.9622 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1371, allocations: 51.41 kB / 0.9622 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1373, allocations: 322.1 kB / 0.9625 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1374, allocations: 25.7 kB / 0.9625 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1375, allocations: 262.8 kB / 0.9628 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.1375, allocations: 47.58 kB / 0.9628 GB, free: 7.031 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.1376, allocations: 51.36 kB / 0.9629 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1377, allocations: 0.5079 MB / 0.9634 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.1378, allocations: 27.67 kB / 0.9634 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1379, allocations: 314.8 kB / 0.9637 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1381, allocations: 202.7 kB / 0.9639 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1381, allocations: 4 kB / 0.9639 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002419/0.1383, allocations: 177.4 kB / 0.9641 GB, free: 5.559 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1384, allocations: 14.72 kB / 0.9641 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1384, allocations: 0 / 0.9641 GB, free: 5.547 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1384, allocations: 11.98 kB / 0.9641 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1385, allocations: 39.92 kB / 0.9641 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1385, allocations: 11.94 kB / 0.9642 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1386, allocations: 23.88 kB / 0.9642 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.1387, allocations: 11.98 kB / 0.9642 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.255e-05/0.1388, allocations: 150.7 kB / 0.9643 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000158/0.1389, allocations: 313.7 kB / 0.9646 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001563/0.1391, allocations: 198.7 kB / 0.9648 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.1391, allocations: 4 kB / 0.9648 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000219/0.1393, allocations: 185.1 kB / 0.965 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.1393, allocations: 8 kB / 0.965 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1393, allocations: 4 kB / 0.965 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.1393, allocations: 4.406 kB / 0.965 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1394, allocations: 51.92 kB / 0.9651 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1394, allocations: 4 kB / 0.9651 GB, free: 4.363 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1396, allocations: 23.88 kB / 0.9651 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1396, allocations: 12 kB / 0.9651 GB, free: 4.328 MB / 0.9167 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 0.0001053/0.1397, allocations: 280 kB / 0.9654 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.1397, allocations: 35.73 kB / 0.9654 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1399, allocations: 95.5 kB / 0.9655 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1399, allocations: 4 kB / 0.9655 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1399, allocations: 128 / 0.9655 GB, free: 3.906 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1399, allocations: 11.98 kB / 0.9655 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.1404, allocations: 487.3 kB / 0.966 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1404, allocations: 4 kB / 0.966 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.1404, allocations: 19.98 kB / 0.966 GB, free: 3.328 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1404, allocations: 7.938 kB / 0.966 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1405, allocations: 8.219 kB / 0.966 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.1405, allocations: 4 kB / 0.966 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1405, allocations: 4 kB / 0.966 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1408, allocations: 309.4 kB / 0.9663 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.1408, allocations: 39.8 kB / 0.9664 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1409, allocations: 4 kB / 0.9664 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.141, allocations: 8 kB / 0.9664 GB, free: 2.902 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.141, allocations: 11.92 kB / 0.9664 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.141, allocations: 4 kB / 0.9664 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001158/0.1411, allocations: 214.9 kB / 0.9666 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1411, allocations: 4 kB / 0.9666 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005215/0.1417, allocations: 147.7 kB / 0.9667 GB, free: 2.527 MB / 0.9167 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.0001865/0.1418, allocations: 127.1 kB / 0.9668 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1421, allocations: 163.8 kB / 0.967 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1421, allocations: 0 / 0.967 GB, free: 2.227 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.1421, allocations: 36.36 kB / 0.967 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.1426, allocations: 101.3 kB / 0.9671 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.1435, allocations: 0.516 MB / 0.9676 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.1436, allocations: 100.6 kB / 0.9677 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.1437, allocations: 38.36 kB / 0.9678 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1439, allocations: 142.1 kB / 0.9679 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.1439, allocations: 0 / 0.9679 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of Templates: time 0.007559/0.1515, allocations: 4.378 MB / 0.9722 GB, free: 12.96 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.312368325889111]