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.001808/0.001808, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.001986/0.001986, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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 5.269e-06/5.269e-06, allocations: 4 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.54e-05, allocations: 4.844 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2477/0.2478, allocations: 165.8 MB / 1.039 GB, free: 268 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.2607, allocations: 8.321 MB / 1.048 GB, free: 7.914 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.2613, allocations: 19.81 kB / 1.048 GB, free: 7.895 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.2621, allocations: 214.5 kB / 1.048 GB, free: 7.684 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2638, allocations: 0.6062 MB / 1.048 GB, free: 7.074 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.2659, allocations: 0.7005 MB / 1.049 GB, free: 6.371 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2671, allocations: 0.7436 MB / 1.05 GB, free: 5.621 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.2675, allocations: 212 kB / 1.05 GB, free: 5.414 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.269, allocations: 0.6501 MB / 1.051 GB, free: 4.762 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.2693, allocations: 203.3 kB / 1.051 GB, free: 4.562 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.2694, allocations: 20 kB / 1.051 GB, free: 4.543 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.2705, allocations: 0.5766 MB / 1.051 GB, free: 3.965 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2707, allocations: 115.6 kB / 1.051 GB, free: 3.852 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2709, allocations: 119.7 kB / 1.052 GB, free: 3.734 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.272, allocations: 0.6035 MB / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.272, allocations: 0 / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.843e-06/0.272, allocations: 0 / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.272, allocations: 4 kB / 1.052 GB, free: 3.125 MB / 1.01 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.001176/0.2731, allocations: 0.7247 MB / 1.053 GB, free: 2.363 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2732, allocations: 8.031 kB / 1.053 GB, free: 2.355 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.2736, allocations: 99.5 kB / 1.053 GB, free: 2.258 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.2742, allocations: 298.5 kB / 1.053 GB, free: 1.941 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.2742, allocations: 20.5 kB / 1.053 GB, free: 1.922 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.2743, allocations: 28 kB / 1.053 GB, free: 1.895 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.2748, allocations: 300.5 kB / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2748, allocations: 0 / 1.054 GB, free: 1.551 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2748, allocations: 12 kB / 1.054 GB, free: 1.539 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2749, allocations: 4 kB / 1.054 GB, free: 1.535 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.2752, allocations: 127.7 kB / 1.054 GB, free: 1.41 MB / 1.01 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.4376/0.7128, allocations: 2.025 MB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.713, allocations: 80.45 kB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.7131, allocations: 46.3 kB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.7133, allocations: 37.17 kB / 1.056 GB, free: 222.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.7133, allocations: 41.81 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/0.7133, allocations: 0 / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0005843/0.7139, allocations: 179.6 kB / 1.056 GB, free: 222.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.7139, allocations: 55.38 kB / 1.056 GB, free: 222.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.7142, allocations: 409.1 kB / 1.057 GB, free: 222.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7142, allocations: 32.61 kB / 1.057 GB, free: 222.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.7144, allocations: 274.1 kB / 1.057 GB, free: 222.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.7144, allocations: 43.52 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.7145, allocations: 73.64 kB / 1.057 GB, free: 222.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7146, allocations: 0.525 MB / 1.057 GB, free: 221.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.7147, allocations: 50.7 kB / 1.057 GB, free: 221.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.7149, allocations: 497.2 kB / 1.058 GB, free: 221 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.7152, allocations: 353.1 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7152, allocations: 2.781 kB / 1.058 GB, free: 220.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004261/0.7156, allocations: 286.6 kB / 1.059 GB, free: 220.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7156, allocations: 10.16 kB / 1.059 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7156, allocations: 8.531 kB / 1.059 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7157, allocations: 6.438 kB / 1.059 GB, free: 220.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.7158, allocations: 65.41 kB / 1.059 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.7159, allocations: 12.83 kB / 1.059 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.7161, allocations: 39.27 kB / 1.059 GB, free: 220.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.7161, allocations: 16.22 kB / 1.059 GB, free: 220.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001672/0.7163, allocations: 194.9 kB / 1.059 GB, free: 220.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.7165, allocations: 0.4927 MB / 1.059 GB, free: 219.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000302/0.7168, allocations: 347.9 kB / 1.06 GB, free: 219.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.7168, allocations: 2.938 kB / 1.06 GB, free: 219.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0003835/0.7172, allocations: 288.7 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.7172, allocations: 11.06 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.7172, allocations: 6.688 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.7172, allocations: 5.781 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7174, allocations: 59.03 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7174, allocations: 13.53 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.7176, allocations: 27.45 kB / 1.06 GB, free: 219.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.7176, allocations: 19.03 kB / 1.06 GB, free: 219.3 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 0.0001139/0.7177, allocations: 292.7 kB / 1.06 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.7178, allocations: 31.12 kB / 1.06 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.7181, allocations: 136.9 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7181, allocations: 2.906 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7181, allocations: 1.094 kB / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7181, allocations: 0 / 1.061 GB, free: 218.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.7189, allocations: 0.6065 MB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7189, allocations: 3.562 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.719, allocations: 20.45 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.719, allocations: 4.516 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.719, allocations: 2.875 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.719, allocations: 7.938 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.719, allocations: 7.562 kB / 1.061 GB, free: 218.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.7192, allocations: 340.1 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.7193, allocations: 41.38 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.7194, allocations: 2.906 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.7195, allocations: 3.938 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.7196, allocations: 23.22 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.7196, allocations: 7.656 kB / 1.062 GB, free: 218.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001689/0.7197, allocations: 260.5 kB / 1.062 GB, free: 217.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7197, allocations: 0.5 kB / 1.062 GB, free: 217.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006227/0.7204, allocations: 149.5 kB / 1.062 GB, free: 217.9 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.0002655/0.7206, allocations: 158.4 kB / 1.062 GB, free: 217.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.7211, allocations: 286.9 kB / 1.062 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7211, allocations: 0 / 1.062 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7212, allocations: 55.5 kB / 1.062 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.7218, allocations: 94.05 kB / 1.063 GB, free: 217.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.7226, allocations: 0.5343 MB / 1.063 GB, free: 217.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.7227, allocations: 176.5 kB / 1.063 GB, free: 217.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.7229, allocations: 78.33 kB / 1.063 GB, free: 217.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.723, allocations: 26.03 kB / 1.063 GB, free: 217.2 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/0.723, allocations: 2.906 kB / 1.063 GB, free: 217.2 MB / 1.01 GB Notification: Performance of Templates: time 0.008529/0.7315, allocations: 4.258 MB / 1.068 GB, free: 216.8 MB / 1.01 GB " [Timeout remaining time 299] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.272342507960275]