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.0009601/0.0009601, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001067/0.001067, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9304/0.9304, allocations: 177.1 MB / 203.7 MB, free: 5.477 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.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.543e-06/1.543e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.654e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1265/0.1265, allocations: 144.1 MB / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.1294, allocations: 2.576 MB / 1.033 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.1297, allocations: 15.88 kB / 1.033 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.1301, allocations: 131 kB / 1.033 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.1308, allocations: 381.8 kB / 1.034 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.132, allocations: 0.6695 MB / 1.034 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007076/0.1327, allocations: 0.7435 MB / 1.035 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.133, allocations: 208.6 kB / 1.035 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004981/0.1335, allocations: 438.8 kB / 1.036 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1337, allocations: 195.4 kB / 1.036 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1337, allocations: 20 kB / 1.036 GB, free: 3.648 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000548/0.1343, allocations: 438.9 kB / 1.036 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1345, allocations: 123.6 kB / 1.036 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1346, allocations: 107.8 kB / 1.036 GB, free: 2.992 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.1351, allocations: 466.4 kB / 1.037 GB, free: 2.535 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1351, allocations: 4 kB / 1.037 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1351, allocations: 0 / 1.037 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1351, allocations: 0 / 1.037 GB, free: 2.531 MB / 0.9948 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.0006/0.1357, allocations: 0.6858 MB / 1.037 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1358, allocations: 12.62 kB / 1.038 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.136, allocations: 100.5 kB / 1.038 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1363, allocations: 295 kB / 1.038 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1363, allocations: 20.88 kB / 1.038 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1363, allocations: 27.94 kB / 1.038 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.1366, allocations: 269.2 kB / 1.038 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1366, allocations: 0 / 1.038 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1366, allocations: 8 kB / 1.038 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1366, allocations: 4 kB / 1.038 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1367, allocations: 80.11 kB / 1.038 GB, free: 0.9258 MB / 0.9948 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.0009829/0.1377, allocations: 1.911 MB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1378, allocations: 51.05 kB / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.1378, allocations: 35.61 kB / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-05/0.1379, allocations: 16 kB / 1.04 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1379, allocations: 37.33 kB / 1.04 GB, free: 14.76 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1379, allocations: 0 / 1.04 GB, free: 14.76 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0002417/0.1381, allocations: 129.5 kB / 1.04 GB, free: 14.63 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1382, allocations: 55.41 kB / 1.04 GB, free: 14.56 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.1383, allocations: 353.9 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1384, allocations: 25.7 kB / 1.041 GB, free: 14.17 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1385, allocations: 267.1 kB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1385, allocations: 43.67 kB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.1385, allocations: 67.3 kB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1387, allocations: 0.5195 MB / 1.042 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.1387, allocations: 31.64 kB / 1.042 GB, free: 13.22 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1389, allocations: 396.7 kB / 1.042 GB, free: 12.69 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1391, allocations: 307.8 kB / 1.042 GB, free: 12.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1391, allocations: 7.938 kB / 1.042 GB, free: 12.28 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002191/0.1393, allocations: 236.8 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1393, allocations: 8.688 kB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1393, allocations: 8 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1393, allocations: 8 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1394, allocations: 59.91 kB / 1.043 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1394, allocations: 11.94 kB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1396, allocations: 47.72 kB / 1.043 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1396, allocations: 12 kB / 1.043 GB, free: 11.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.574e-05/0.1397, allocations: 150.8 kB / 1.043 GB, free: 11.73 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003107/0.14, allocations: 396.7 kB / 1.043 GB, free: 11.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001676/0.1401, allocations: 303.8 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.1401, allocations: 0 / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.000203/0.1404, allocations: 244.8 kB / 1.044 GB, free: 10.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.1404, allocations: 8 kB / 1.044 GB, free: 10.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1404, allocations: 4 kB / 1.044 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.1404, allocations: 8 kB / 1.044 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1405, allocations: 60.59 kB / 1.044 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1405, allocations: 11.94 kB / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.1406, allocations: 31.88 kB / 1.044 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1406, allocations: 16 kB / 1.044 GB, free: 10.42 MB / 1.01 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 9.081e-05/0.1407, allocations: 288 kB / 1.044 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1407, allocations: 35.69 kB / 1.044 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1408, allocations: 100.5 kB / 1.044 GB, free: 9.992 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1408, allocations: 4.266 kB / 1.044 GB, free: 9.988 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-06/0.1408, allocations: 4.125 kB / 1.044 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1408, allocations: 0 / 1.044 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1412, allocations: 499.3 kB / 1.045 GB, free: 9.434 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1412, allocations: 0 / 1.045 GB, free: 9.434 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1413, allocations: 27.92 kB / 1.045 GB, free: 9.406 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1413, allocations: 0 / 1.045 GB, free: 9.406 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1413, allocations: 8 kB / 1.045 GB, free: 9.398 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1413, allocations: 7.984 kB / 1.045 GB, free: 9.391 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1413, allocations: 4.203 kB / 1.045 GB, free: 9.387 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.1415, allocations: 317.4 kB / 1.045 GB, free: 9.027 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.1415, allocations: 35.8 kB / 1.045 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1415, allocations: 0 / 1.045 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1416, allocations: 11.98 kB / 1.045 GB, free: 8.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.1416, allocations: 19.86 kB / 1.045 GB, free: 8.961 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1416, allocations: 4 kB / 1.045 GB, free: 8.957 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.839e-05/0.1417, allocations: 218.9 kB / 1.045 GB, free: 8.742 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 0 / 1.045 GB, free: 8.742 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003846/0.1421, allocations: 151.7 kB / 1.046 GB, free: 8.594 MB / 1.01 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.0001769/0.1423, allocations: 139.1 kB / 1.046 GB, free: 8.445 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1425, allocations: 209.4 kB / 1.046 GB, free: 8.234 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1425, allocations: 0 / 1.046 GB, free: 8.234 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.1425, allocations: 35.59 kB / 1.046 GB, free: 8.195 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1429, allocations: 91.59 kB / 1.046 GB, free: 8.109 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.1436, allocations: 0.5434 MB / 1.047 GB, free: 7.504 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.121e-05/0.1437, allocations: 100.6 kB / 1.047 GB, free: 7.387 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.1438, allocations: 43.66 kB / 1.047 GB, free: 7.348 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.1439, allocations: 146.1 kB / 1.047 GB, free: 7.203 MB / 1.01 GB Notification: Performance of SimCode: time 7.61e-07/0.144, allocations: 0 / 1.047 GB, free: 7.203 MB / 1.01 GB Notification: Performance of Templates: time 0.006556/0.1505, allocations: 4.355 MB / 1.051 GB, free: 2.949 MB / 1.01 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: 6.164184432011098]