Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001508/0.001508, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001232/0.001232, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9662/0.9662, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.358/2.358, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.Pressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.542e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1334/0.1334, allocations: 146.2 MB / 0.9814 GB, free: 11.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1366, allocations: 2.639 MB / 0.984 GB, free: 8.707 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.1369, allocations: 19.81 kB / 0.984 GB, free: 8.688 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1373, allocations: 127 kB / 0.9841 GB, free: 8.562 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.138, allocations: 393.7 kB / 0.9845 GB, free: 8.176 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.139, allocations: 0.6617 MB / 0.9851 GB, free: 7.512 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.1396, allocations: 0.7358 MB / 0.9858 GB, free: 6.773 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.1399, allocations: 219.1 kB / 0.9861 GB, free: 6.559 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.1404, allocations: 430.8 kB / 0.9865 GB, free: 6.137 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1406, allocations: 183.4 kB / 0.9866 GB, free: 5.957 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1406, allocations: 20 kB / 0.9867 GB, free: 5.938 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.1411, allocations: 438.9 kB / 0.9871 GB, free: 5.508 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1412, allocations: 111.6 kB / 0.9872 GB, free: 5.398 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.1413, allocations: 111.7 kB / 0.9873 GB, free: 5.289 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.1417, allocations: 466.4 kB / 0.9877 GB, free: 4.832 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1417, allocations: 4 kB / 0.9877 GB, free: 4.828 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1417, allocations: 0 / 0.9877 GB, free: 4.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1418, allocations: 0 / 0.9877 GB, free: 4.828 MB / 0.948 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.0005996/0.1424, allocations: 0.565 MB / 0.9883 GB, free: 4.238 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1424, allocations: 12.62 kB / 0.9883 GB, free: 4.227 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.1427, allocations: 76.8 kB / 0.9884 GB, free: 4.152 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.143, allocations: 281.5 kB / 0.9886 GB, free: 3.848 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.143, allocations: 20.88 kB / 0.9887 GB, free: 3.828 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1431, allocations: 35.92 kB / 0.9887 GB, free: 3.793 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1433, allocations: 244.9 kB / 0.9889 GB, free: 3.508 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1433, allocations: 0 / 0.9889 GB, free: 3.508 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1433, allocations: 8 kB / 0.9889 GB, free: 3.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1433, allocations: 8 kB / 0.9889 GB, free: 3.492 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.1434, allocations: 80.25 kB / 0.989 GB, free: 3.41 MB / 0.948 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.001092/0.1445, allocations: 1.31 MB / 0.9903 GB, free: 2.039 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1447, allocations: 82.47 kB / 0.9904 GB, free: 1.949 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.1447, allocations: 35.61 kB / 0.9904 GB, free: 1.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.1448, allocations: 19.98 kB / 0.9904 GB, free: 1.891 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1448, allocations: 34.5 kB / 0.9905 GB, free: 1.848 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1448, allocations: 0 / 0.9905 GB, free: 1.848 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002621/0.1451, allocations: 113.5 kB / 0.9906 GB, free: 1.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.1451, allocations: 55.41 kB / 0.9906 GB, free: 1.664 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1453, allocations: 286.8 kB / 0.9909 GB, free: 1.371 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1453, allocations: 29.7 kB / 0.9909 GB, free: 1.336 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.1454, allocations: 192.9 kB / 0.9911 GB, free: 1.141 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1454, allocations: 43.62 kB / 0.9912 GB, free: 1.098 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1455, allocations: 57.69 kB / 0.9912 GB, free: 1.035 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.1455, allocations: 342.8 kB / 0.9915 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.1456, allocations: 27.67 kB / 0.9916 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1457, allocations: 332.3 kB / 0.9919 GB, free: 228 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1459, allocations: 249.5 kB / 0.9921 GB, free: 15.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1459, allocations: 4 kB / 0.9921 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001898/0.1461, allocations: 207.3 kB / 0.9923 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1461, allocations: 10.03 kB / 0.9923 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1461, allocations: 8.094 kB / 0.9923 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1461, allocations: 12 kB / 0.9924 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1462, allocations: 59.92 kB / 0.9924 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1462, allocations: 11.92 kB / 0.9924 GB, free: 15.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1464, allocations: 39.73 kB / 0.9925 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1464, allocations: 16 kB / 0.9925 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.016e-05/0.1464, allocations: 113.8 kB / 0.9926 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001316/0.1466, allocations: 324.3 kB / 0.9929 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001472/0.1467, allocations: 238.7 kB / 0.9931 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.1467, allocations: 4 kB / 0.9931 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0001709/0.1469, allocations: 206.8 kB / 0.9933 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.1469, allocations: 8 kB / 0.9933 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1469, allocations: 4 kB / 0.9933 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.1469, allocations: 16.66 kB / 0.9933 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.147, allocations: 67.91 kB / 0.9934 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.147, allocations: 7.938 kB / 0.9934 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-05/0.1471, allocations: 31.83 kB / 0.9934 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1471, allocations: 19.98 kB / 0.9935 GB, free: 14.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (32): * Single equations (assignments): 32 * 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 7.345e-05/0.1472, allocations: 192.2 kB / 0.9937 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1472, allocations: 23.92 kB / 0.9937 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1473, allocations: 88.47 kB / 0.9938 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1473, allocations: 0 / 0.9938 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1473, allocations: 4 kB / 0.9938 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1473, allocations: 0 / 0.9938 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.1477, allocations: 491.9 kB / 0.9942 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1477, allocations: 0 / 0.9942 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1478, allocations: 31.92 kB / 0.9943 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1478, allocations: 0 / 0.9943 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1478, allocations: 4 kB / 0.9943 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1478, allocations: 4.219 kB / 0.9943 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1478, allocations: 4 kB / 0.9943 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1479, allocations: 287.9 kB / 0.9945 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.148, allocations: 31.8 kB / 0.9946 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.148, allocations: 8 kB / 0.9946 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.148, allocations: 4 kB / 0.9946 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1481, allocations: 15.92 kB / 0.9946 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.1481, allocations: 11.98 kB / 0.9946 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.1481, allocations: 104.6 kB / 0.9947 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1481, allocations: 0 / 0.9947 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003392/0.1485, allocations: 163.6 kB / 0.9949 GB, free: 12.75 MB / 0.9636 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.000176/0.1487, allocations: 104.3 kB / 0.995 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1489, allocations: 199.4 kB / 0.9952 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1489, allocations: 4 kB / 0.9952 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.1489, allocations: 34.28 kB / 0.9952 GB, free: 12.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1492, allocations: 97.72 kB / 0.9953 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.1499, allocations: 0.522 MB / 0.9958 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.15, allocations: 100.6 kB / 0.9959 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.1501, allocations: 47.66 kB / 0.9959 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1503, allocations: 113.3 kB / 0.9961 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.1503, allocations: 0 / 0.9961 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Templates: time 0.006174/0.1564, allocations: 4.283 MB / 1 GB, free: 7.266 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.4430953953415155]