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.001297/0.001297, allocations: 82.33 kB / 19.77 MB, free: 2.016 MB / 14.72 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.001393/0.001393, allocations: 152.3 kB / 23.01 MB, free: 4.965 MB / 14.72 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.45/1.45, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.004/3.004, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 63.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2109/1.278, allocations: 149.5 MB / 1.333 GB, free: 344 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0103/1.288, allocations: 6.695 MB / 1.339 GB, free: 9.625 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/1.289, allocations: 19.81 kB / 1.339 GB, free: 9.605 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008515/1.29, allocations: 214.6 kB / 1.339 GB, free: 9.395 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/1.292, allocations: 0.5795 MB / 1.34 GB, free: 8.812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/1.293, allocations: 445.2 kB / 1.34 GB, free: 8.383 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001045/1.294, allocations: 0.7168 MB / 1.341 GB, free: 7.664 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/1.294, allocations: 204.1 kB / 1.341 GB, free: 7.465 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/1.296, allocations: 0.5527 MB / 1.342 GB, free: 6.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/1.296, allocations: 215 kB / 1.342 GB, free: 6.699 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/1.296, allocations: 20 kB / 1.342 GB, free: 6.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/1.297, allocations: 0.569 MB / 1.343 GB, free: 6.109 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/1.297, allocations: 111.6 kB / 1.343 GB, free: 6 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/1.297, allocations: 131.3 kB / 1.343 GB, free: 5.871 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008647/1.298, allocations: 0.5604 MB / 1.343 GB, free: 5.312 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.298, allocations: 4 kB / 1.343 GB, free: 5.309 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.322e-06/1.298, allocations: 0 / 1.343 GB, free: 5.309 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.298, allocations: 0 / 1.343 GB, free: 5.309 MB / 1.186 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.001052/1.299, allocations: 0.5784 MB / 1.344 GB, free: 4.699 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.299, allocations: 12.03 kB / 1.344 GB, free: 4.688 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/1.3, allocations: 71.66 kB / 1.344 GB, free: 4.617 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/1.3, allocations: 256.1 kB / 1.344 GB, free: 4.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.3, allocations: 16.5 kB / 1.344 GB, free: 4.324 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/1.3, allocations: 20 kB / 1.344 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005412/1.301, allocations: 309.4 kB / 1.345 GB, free: 3.961 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.301, allocations: 0 / 1.345 GB, free: 3.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.301, allocations: 15.94 kB / 1.345 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.301, allocations: 4 kB / 1.345 GB, free: 3.941 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/1.301, allocations: 171.8 kB / 1.345 GB, free: 3.773 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/1.303, allocations: 1.462 MB / 1.346 GB, free: 2.238 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/1.303, allocations: 90.5 kB / 1.346 GB, free: 2.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/1.303, allocations: 72.84 kB / 1.346 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/1.304, allocations: 31.98 kB / 1.346 GB, free: 2.035 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.304, allocations: 38.5 kB / 1.346 GB, free: 1.988 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/1.304, allocations: 0 / 1.346 GB, free: 1.988 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007095/1.304, allocations: 229.3 kB / 1.347 GB, free: 1.758 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.304, allocations: 55.39 kB / 1.347 GB, free: 1.691 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/1.305, allocations: 280.4 kB / 1.347 GB, free: 1.406 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/1.305, allocations: 29.7 kB / 1.347 GB, free: 1.371 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.305, allocations: 200.1 kB / 1.347 GB, free: 1.172 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/1.305, allocations: 47.58 kB / 1.347 GB, free: 1.125 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/1.305, allocations: 45.7 kB / 1.347 GB, free: 1.074 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.305, allocations: 342.8 kB / 1.348 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/1.305, allocations: 60.67 kB / 1.348 GB, free: 0.668 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/1.306, allocations: 381 kB / 1.348 GB, free: 196 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/1.306, allocations: 233.5 kB / 1.348 GB, free: 15.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.306, allocations: 0 / 1.348 GB, free: 15.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005177/1.307, allocations: 249.1 kB / 1.349 GB, free: 15.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.307, allocations: 13.75 kB / 1.349 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.307, allocations: 4.219 kB / 1.349 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.307, allocations: 4 kB / 1.349 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.307, allocations: 52.3 kB / 1.349 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.307, allocations: 15.92 kB / 1.349 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/1.307, allocations: 35.86 kB / 1.349 GB, free: 15.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/1.307, allocations: 12 kB / 1.349 GB, free: 15.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002536/1.308, allocations: 172.1 kB / 1.349 GB, free: 15.36 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003678/1.308, allocations: 368.5 kB / 1.349 GB, free: 14.9 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003918/1.308, allocations: 229.4 kB / 1.349 GB, free: 14.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/1.308, allocations: 8 kB / 1.349 GB, free: 14.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005079/1.309, allocations: 245.1 kB / 1.35 GB, free: 14.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.309, allocations: 8 kB / 1.35 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.309, allocations: 8.344 kB / 1.35 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.273e-06/1.309, allocations: 12 kB / 1.35 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/1.309, allocations: 47.91 kB / 1.35 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.309, allocations: 7.938 kB / 1.35 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/1.309, allocations: 27.88 kB / 1.35 GB, free: 14.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.309, allocations: 16 kB / 1.35 GB, free: 14.25 MB / 1.201 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 0.0001346/1.309, allocations: 192.2 kB / 1.35 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/1.31, allocations: 27.78 kB / 1.35 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/1.31, allocations: 163.5 kB / 1.35 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.31, allocations: 7.984 kB / 1.35 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.31, allocations: 0 / 1.35 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.31, allocations: 0 / 1.35 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/1.311, allocations: 0.5427 MB / 1.351 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.311, allocations: 0 / 1.351 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.311, allocations: 23.98 kB / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.311, allocations: 0 / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.311, allocations: 4 kB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.311, allocations: 4 kB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.311, allocations: 7.875 kB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/1.312, allocations: 301.5 kB / 1.351 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/1.312, allocations: 43.8 kB / 1.351 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/1.312, allocations: 4 kB / 1.351 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.312, allocations: 11.98 kB / 1.351 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/1.312, allocations: 19.86 kB / 1.351 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/1.312, allocations: 4 kB / 1.351 GB, free: 12.8 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001997/1.312, allocations: 191.1 kB / 1.351 GB, free: 12.61 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.312, allocations: 0 / 1.351 GB, free: 12.61 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000606/1.313, allocations: 143.7 kB / 1.351 GB, free: 12.47 MB / 1.201 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.0002633/1.313, allocations: 151.1 kB / 1.352 GB, free: 12.31 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005837/1.314, allocations: 233 kB / 1.352 GB, free: 12.08 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.314, allocations: 4 kB / 1.352 GB, free: 12.08 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/1.314, allocations: 68.33 kB / 1.352 GB, free: 12.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/1.314, allocations: 93.19 kB / 1.352 GB, free: 11.92 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/1.315, allocations: 0.4894 MB / 1.352 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/1.315, allocations: 171.8 kB / 1.353 GB, free: 11.19 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002215/1.316, allocations: 74.86 kB / 1.353 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/1.316, allocations: 24.5 kB / 1.353 GB, free: 11.1 MB / 1.201 GB Notification: Performance of SimCode: time 4.61e-07/1.316, allocations: 0 / 1.353 GB, free: 11.1 MB / 1.201 GB Notification: Performance of Templates: time 0.009589/1.325, allocations: 4.157 MB / 1.357 GB, free: 7.043 MB / 1.201 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/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.595277681015432]