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.0009655/0.0009655, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001675/0.001675, allocations: 161 kB / 24.17 MB, free: 328 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.9898/0.9898, allocations: 177.2 MB / 204.6 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.382e-06/1.382e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.667e-05, allocations: 2.938 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1366/0.1366, allocations: 146.2 MB / 0.9028 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1393, allocations: 1.777 MB / 0.9045 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.1396, allocations: 19.81 kB / 0.9045 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1401, allocations: 123.1 kB / 0.9046 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.1409, allocations: 389.7 kB / 0.905 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.1417, allocations: 426.8 kB / 0.9054 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007653/0.1425, allocations: 0.7086 MB / 0.9061 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.1428, allocations: 226.3 kB / 0.9063 GB, free: 460 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.1433, allocations: 418.8 kB / 0.9067 GB, free: 40 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1435, allocations: 183.3 kB / 0.9069 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1436, allocations: 16 kB / 0.9069 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.1441, allocations: 434.9 kB / 0.9073 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1442, allocations: 111.6 kB / 0.9074 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.1443, allocations: 103.8 kB / 0.9075 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.1448, allocations: 458.5 kB / 0.908 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1448, allocations: 0 / 0.908 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1448, allocations: 0 / 0.908 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1448, allocations: 0 / 0.908 GB, free: 14.76 MB / 0.8698 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.0006327/0.1455, allocations: 0.5305 MB / 0.9085 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1455, allocations: 12.03 kB / 0.9085 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.1457, allocations: 84.62 kB / 0.9086 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.146, allocations: 256.6 kB / 0.9088 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.146, allocations: 16.88 kB / 0.9088 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1461, allocations: 31.92 kB / 0.9089 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.1463, allocations: 240.9 kB / 0.9091 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1463, allocations: 4 kB / 0.9091 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1463, allocations: 15.94 kB / 0.9091 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1463, allocations: 8 kB / 0.9091 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1464, allocations: 68.33 kB / 0.9092 GB, free: 13.41 MB / 0.8698 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.0009358/0.1473, allocations: 1.302 MB / 0.9105 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1475, allocations: 94.45 kB / 0.9106 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.1475, allocations: 35.55 kB / 0.9106 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.1476, allocations: 23.98 kB / 0.9106 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1477, allocations: 30.56 kB / 0.9106 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.994e-06/0.1477, allocations: 0 / 0.9106 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0003096/0.148, allocations: 105.5 kB / 0.9107 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.148, allocations: 55.41 kB / 0.9108 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1482, allocations: 258.9 kB / 0.911 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1482, allocations: 29.7 kB / 0.9111 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.1483, allocations: 188.5 kB / 0.9113 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.1483, allocations: 43.67 kB / 0.9113 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.1484, allocations: 49.64 kB / 0.9113 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.1485, allocations: 334.8 kB / 0.9117 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.1485, allocations: 23.62 kB / 0.9117 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1486, allocations: 269 kB / 0.9119 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1488, allocations: 177.9 kB / 0.9121 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1488, allocations: 0 / 0.9121 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001552/0.1489, allocations: 158.9 kB / 0.9123 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1489, allocations: 4 kB / 0.9123 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1489, allocations: 4 kB / 0.9123 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1489, allocations: 4 kB / 0.9123 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.149, allocations: 43.92 kB / 0.9123 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1491, allocations: 8.344 kB / 0.9123 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1492, allocations: 31.94 kB / 0.9124 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1492, allocations: 12 kB / 0.9124 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.56e-05/0.1492, allocations: 105.8 kB / 0.9125 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001102/0.1493, allocations: 259.2 kB / 0.9127 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001059/0.1495, allocations: 163.1 kB / 0.9129 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.1495, allocations: 4 kB / 0.9129 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001414/0.1496, allocations: 159.2 kB / 0.913 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.1496, allocations: 9.875 kB / 0.913 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1496, allocations: 4 kB / 0.913 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.1496, allocations: 8.031 kB / 0.913 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.1497, allocations: 47.91 kB / 0.9131 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1497, allocations: 4 kB / 0.9131 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.1498, allocations: 19.89 kB / 0.9131 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1498, allocations: 16 kB / 0.9131 GB, free: 8.945 MB / 0.8698 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 7.992e-05/0.1499, allocations: 200.4 kB / 0.9133 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1499, allocations: 23.92 kB / 0.9133 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.15, allocations: 91.47 kB / 0.9134 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.15, allocations: 4 kB / 0.9134 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.15, allocations: 3.938 kB / 0.9134 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.15, allocations: 0 / 0.9134 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.1504, allocations: 480.1 kB / 0.9139 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1504, allocations: 0 / 0.9139 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.1504, allocations: 19.98 kB / 0.9139 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1504, allocations: 4 kB / 0.9139 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1505, allocations: 8 kB / 0.9139 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1505, allocations: 3.938 kB / 0.9139 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1505, allocations: 7.984 kB / 0.9139 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1506, allocations: 287.9 kB / 0.9142 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1506, allocations: 27.75 kB / 0.9142 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1507, allocations: 16.08 kB / 0.9143 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1507, allocations: 4 kB / 0.9143 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1508, allocations: 11.92 kB / 0.9143 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1508, allocations: 8 kB / 0.9143 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.1508, allocations: 92.62 kB / 0.9144 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1508, allocations: 0 / 0.9144 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003451/0.1512, allocations: 143.7 kB / 0.9145 GB, free: 7.422 MB / 0.8698 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.0001818/0.1514, allocations: 116.2 kB / 0.9146 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1516, allocations: 150.8 kB / 0.9148 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1516, allocations: 4 kB / 0.9148 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.1516, allocations: 29.28 kB / 0.9148 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1519, allocations: 93.3 kB / 0.9149 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.1526, allocations: 0.4978 MB / 0.9154 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.138e-05/0.1527, allocations: 96.61 kB / 0.9155 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.1528, allocations: 46.95 kB / 0.9155 GB, free: 6.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.153, allocations: 121.3 kB / 0.9156 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/0.153, allocations: 0 / 0.9156 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of Templates: time 0.00624/0.1592, allocations: 4.254 MB / 0.9198 GB, free: 2.039 MB / 0.8698 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.31634595291689]