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.001129/0.001129, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001334/0.001334, allocations: 169 kB / 24.06 MB, free: 452 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 1.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.465 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.121/2.121, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 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.272e-06/1.272e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.377e-05, allocations: 3.188 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1307/0.1308, allocations: 144.1 MB / 1.02 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.1341, allocations: 2.589 MB / 1.023 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.1344, allocations: 23.81 kB / 1.023 GB, free: 2.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.1349, allocations: 127.1 kB / 1.023 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.1356, allocations: 389.7 kB / 1.023 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1369, allocations: 0.6695 MB / 1.024 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008021/0.1377, allocations: 0.732 MB / 1.025 GB, free: 0.8516 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.138, allocations: 227.9 kB / 1.025 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.1385, allocations: 434.8 kB / 1.025 GB, free: 208 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1387, allocations: 203.4 kB / 1.025 GB, free: 4 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.1388, allocations: 20.05 kB / 1.025 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.1393, allocations: 430.9 kB / 1.026 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1395, allocations: 115.6 kB / 1.026 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.1396, allocations: 111.7 kB / 1.026 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.1401, allocations: 470.3 kB / 1.026 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1401, allocations: 0 / 1.026 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1401, allocations: 0 / 1.026 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1401, allocations: 0 / 1.026 GB, free: 14.88 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.0006702/0.1408, allocations: 0.6976 MB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1408, allocations: 8.031 kB / 1.027 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.1411, allocations: 92.5 kB / 1.027 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1414, allocations: 291.1 kB / 1.028 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1414, allocations: 20.86 kB / 1.028 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1414, allocations: 35.92 kB / 1.028 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1417, allocations: 269.1 kB / 1.028 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1417, allocations: 4 kB / 1.028 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1417, allocations: 8 kB / 1.028 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1417, allocations: 8 kB / 1.028 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.1418, allocations: 59.83 kB / 1.028 GB, free: 13.29 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.001166/0.143, allocations: 1.91 MB / 1.03 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1431, allocations: 51.02 kB / 1.03 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.1431, allocations: 39.64 kB / 1.03 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.1432, allocations: 15.98 kB / 1.03 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1432, allocations: 41.39 kB / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1432, allocations: 4 kB / 1.03 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0002659/0.1435, allocations: 129.3 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.1435, allocations: 51.41 kB / 1.03 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1437, allocations: 354 kB / 1.03 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1437, allocations: 29.7 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.1439, allocations: 259.1 kB / 1.031 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1439, allocations: 39.64 kB / 1.031 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.1439, allocations: 75.31 kB / 1.031 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1441, allocations: 0.5118 MB / 1.031 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.1441, allocations: 27.67 kB / 1.031 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1443, allocations: 404.6 kB / 1.032 GB, free: 9.047 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1445, allocations: 299.8 kB / 1.032 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1445, allocations: 8.062 kB / 1.032 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002423/0.1448, allocations: 241.4 kB / 1.032 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1448, allocations: 8 kB / 1.032 GB, free: 8.391 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1448, allocations: 4 kB / 1.032 GB, free: 8.387 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1448, allocations: 11.98 kB / 1.032 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1449, allocations: 63.86 kB / 1.032 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1449, allocations: 11.98 kB / 1.032 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1451, allocations: 35.73 kB / 1.032 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1451, allocations: 16 kB / 1.032 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.801e-05/0.1452, allocations: 154.8 kB / 1.033 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/0.1453, allocations: 397.5 kB / 1.033 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001761/0.1455, allocations: 307.9 kB / 1.033 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.1455, allocations: 4 kB / 1.033 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0002223/0.1457, allocations: 233.8 kB / 1.033 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.1458, allocations: 8 kB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1458, allocations: 15.98 kB / 1.033 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.1458, allocations: 7.984 kB / 1.033 GB, free: 6.887 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1459, allocations: 63.84 kB / 1.034 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1459, allocations: 8 kB / 1.034 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.146, allocations: 31.84 kB / 1.034 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.146, allocations: 15.94 kB / 1.034 GB, free: 6.77 MB / 0.9948 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 0.0001079/0.1461, allocations: 291.9 kB / 1.034 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1461, allocations: 35.75 kB / 1.034 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1463, allocations: 96.55 kB / 1.034 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1463, allocations: 4 kB / 1.034 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1463, allocations: 0 / 1.034 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1463, allocations: 0 / 1.034 GB, free: 6.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.1467, allocations: 491.3 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1467, allocations: 4 kB / 1.034 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.1467, allocations: 23.98 kB / 1.034 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1467, allocations: 8.219 kB / 1.035 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1467, allocations: 7.938 kB / 1.035 GB, free: 5.754 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1467, allocations: 7.922 kB / 1.035 GB, free: 5.746 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1468, allocations: 4 kB / 1.035 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.147, allocations: 305.4 kB / 1.035 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.147, allocations: 39.78 kB / 1.035 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.147, allocations: 8 kB / 1.035 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.1471, allocations: 8.062 kB / 1.035 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1471, allocations: 15.92 kB / 1.035 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1472, allocations: 4 kB / 1.035 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.949e-05/0.1473, allocations: 222.9 kB / 1.035 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1473, allocations: 0 / 1.035 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000414/0.1477, allocations: 155.7 kB / 1.035 GB, free: 4.949 MB / 0.9948 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.00019/0.1479, allocations: 143 kB / 1.035 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.1482, allocations: 210.6 kB / 1.036 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1482, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.1483, allocations: 40.17 kB / 1.036 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1486, allocations: 82.2 kB / 1.036 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.1494, allocations: 0.5397 MB / 1.036 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.1495, allocations: 96.55 kB / 1.036 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.1496, allocations: 47.66 kB / 1.036 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.1498, allocations: 150.1 kB / 1.037 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of SimCode: time 6.02e-07/0.1498, allocations: 0 / 1.037 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of Templates: time 0.006711/0.1565, allocations: 4.413 MB / 1.041 GB, free: 15.25 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: 5.751848967280239]