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.001318/0.001318, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001558/0.001558, allocations: 166.6 kB / 24.87 MB, free: 8.875 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.9242/0.9242, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.886/1.886, allocations: 359 MB / 0.6063 GB, free: 10.87 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.793e-06/1.793e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.976e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1268/0.1268, allocations: 144.1 MB / 0.929 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1294, allocations: 1.729 MB / 0.9307 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.1296, allocations: 23.75 kB / 0.9307 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.13, allocations: 123.1 kB / 0.9308 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007896/0.1308, allocations: 385.7 kB / 0.9312 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.1316, allocations: 430.7 kB / 0.9316 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.1324, allocations: 0.7164 MB / 0.9323 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.1327, allocations: 211.7 kB / 0.9325 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.1333, allocations: 430.7 kB / 0.9329 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1335, allocations: 199.4 kB / 0.9331 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1335, allocations: 20 kB / 0.9331 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.1341, allocations: 434.9 kB / 0.9336 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1342, allocations: 111.6 kB / 0.9337 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.1343, allocations: 99.78 kB / 0.9338 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.1348, allocations: 462.4 kB / 0.9342 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1348, allocations: 0 / 0.9342 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1348, allocations: 0 / 0.9342 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1348, allocations: 0 / 0.9342 GB, free: 6.309 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.0006207/0.1354, allocations: 0.6668 MB / 0.9349 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1354, allocations: 12.03 kB / 0.9349 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.1357, allocations: 88.55 kB / 0.9349 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.136, allocations: 278 kB / 0.9352 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.136, allocations: 12.88 kB / 0.9352 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.136, allocations: 27.94 kB / 0.9353 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1363, allocations: 265.2 kB / 0.9355 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1363, allocations: 3.938 kB / 0.9355 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1363, allocations: 12 kB / 0.9355 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1363, allocations: 4 kB / 0.9355 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.1364, allocations: 67.81 kB / 0.9356 GB, free: 4.77 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.001013/0.1374, allocations: 1.895 MB / 0.9374 GB, free: 2.793 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1375, allocations: 54.95 kB / 0.9375 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.1375, allocations: 31.72 kB / 0.9375 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/0.1376, allocations: 15.98 kB / 0.9375 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1376, allocations: 41.39 kB / 0.9376 GB, free: 2.625 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1376, allocations: 4 kB / 0.9376 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0002457/0.1379, allocations: 125.3 kB / 0.9377 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.1379, allocations: 59.34 kB / 0.9378 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.1381, allocations: 318.1 kB / 0.9381 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1381, allocations: 25.7 kB / 0.9381 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1382, allocations: 258.8 kB / 0.9383 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1382, allocations: 43.62 kB / 0.9384 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1383, allocations: 55.34 kB / 0.9384 GB, free: 1.699 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1384, allocations: 0.5079 MB / 0.9389 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.1385, allocations: 23.67 kB / 0.9389 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1386, allocations: 316.9 kB / 0.9392 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1387, allocations: 206.7 kB / 0.9394 GB, free: 480 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1387, allocations: 0 / 0.9394 GB, free: 480 kB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001846/0.1389, allocations: 189.3 kB / 0.9396 GB, free: 284 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1389, allocations: 12.06 kB / 0.9396 GB, free: 272 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.139, allocations: 4 kB / 0.9396 GB, free: 268 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.139, allocations: 4 kB / 0.9396 GB, free: 264 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.967e-05/0.1391, allocations: 39.92 kB / 0.9397 GB, free: 224 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1391, allocations: 8 kB / 0.9397 GB, free: 216 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.1392, allocations: 23.88 kB / 0.9397 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1392, allocations: 12 kB / 0.9397 GB, free: 180 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.498e-05/0.1393, allocations: 146.7 kB / 0.9399 GB, free: 28 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001569/0.1394, allocations: 317.4 kB / 0.9402 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001219/0.1395, allocations: 194.8 kB / 0.9404 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.1395, allocations: 11.94 kB / 0.9404 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001666/0.1397, allocations: 181 kB / 0.9405 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.1397, allocations: 4 kB / 0.9405 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.1397, allocations: 4 kB / 0.9405 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.1397, allocations: 4.406 kB / 0.9405 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.065e-05/0.1398, allocations: 51.92 kB / 0.9406 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1398, allocations: 11.97 kB / 0.9406 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.618e-05/0.1399, allocations: 19.89 kB / 0.9406 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1399, allocations: 12 kB / 0.9406 GB, free: 15.05 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.931e-05/0.14, allocations: 280 kB / 0.9409 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.14, allocations: 35.8 kB / 0.9409 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.1402, allocations: 103.5 kB / 0.941 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1402, allocations: 288 / 0.941 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1402, allocations: 0 / 0.941 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1402, allocations: 4 kB / 0.941 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1406, allocations: 487.4 kB / 0.9415 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1406, allocations: 3.938 kB / 0.9415 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1406, allocations: 27.92 kB / 0.9415 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1406, allocations: 0 / 0.9415 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1406, allocations: 4.219 kB / 0.9415 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1406, allocations: 11.98 kB / 0.9416 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1406, allocations: 0 / 0.9416 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1408, allocations: 314 kB / 0.9419 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1408, allocations: 39.73 kB / 0.9419 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1409, allocations: 8.062 kB / 0.9419 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.141, allocations: 7.984 kB / 0.9419 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.141, allocations: 15.92 kB / 0.9419 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.141, allocations: 4 kB / 0.9419 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001398/0.1412, allocations: 206.9 kB / 0.9421 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.1412, allocations: 7.938 kB / 0.9421 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003958/0.1416, allocations: 143.7 kB / 0.9423 GB, free: 13.26 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.0001755/0.1417, allocations: 139.1 kB / 0.9424 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1419, allocations: 159.7 kB / 0.9426 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1419, allocations: 0 / 0.9426 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.142, allocations: 39.59 kB / 0.9426 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.1424, allocations: 97.91 kB / 0.9427 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.1431, allocations: 0.4967 MB / 0.9432 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.1432, allocations: 100.6 kB / 0.9433 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.1433, allocations: 38.97 kB / 0.9433 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.1434, allocations: 150.1 kB / 0.9434 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of SimCode: time 7.21e-07/0.1434, allocations: 0 / 0.9434 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of Templates: time 0.006343/0.1498, allocations: 4.369 MB / 0.9477 GB, free: 7.703 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.372715296689421]