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.0007824/0.0007824, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000781/0.000781, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8521/0.8521, allocations: 177.1 MB / 202.8 MB, free: 5.746 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 1.688/1.688, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.664e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.5406/0.5407, allocations: 149.5 MB / 1.146 GB, free: 6.484 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006018/0.5467, allocations: 6.634 MB / 1.152 GB, free: 2.051 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.5472, allocations: 19.22 kB / 1.152 GB, free: 2.039 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.5479, allocations: 211.5 kB / 1.152 GB, free: 1.91 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.5493, allocations: 0.5934 MB / 1.153 GB, free: 1.59 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.5504, allocations: 470.1 kB / 1.153 GB, free: 1.363 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.5512, allocations: 0.6941 MB / 1.154 GB, free: 1.047 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.5515, allocations: 195.8 kB / 1.154 GB, free: 0.9609 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/0.5525, allocations: 0.6258 MB / 1.155 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.5528, allocations: 190.8 kB / 1.155 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.5528, allocations: 19.78 kB / 1.155 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.5537, allocations: 0.5717 MB / 1.156 GB, free: 464 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.5539, allocations: 112.8 kB / 1.156 GB, free: 412 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.554, allocations: 107.9 kB / 1.156 GB, free: 372 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000927/0.5549, allocations: 0.5852 MB / 1.156 GB, free: 164 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.555, allocations: 4 kB / 1.156 GB, free: 160 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.633e-06/0.555, allocations: 0 / 1.156 GB, free: 160 kB / 1.01 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.555, allocations: 1.953 kB / 1.156 GB, free: 160 kB / 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.001096/0.5561, allocations: 0.5663 MB / 1.157 GB, free: 15.7 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5561, allocations: 11.25 kB / 1.157 GB, free: 15.7 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.5562, allocations: 54.75 kB / 1.157 GB, free: 15.65 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.5564, allocations: 73.19 kB / 1.157 GB, free: 15.63 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.5569, allocations: 258.3 kB / 1.157 GB, free: 15.43 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.5569, allocations: 23.5 kB / 1.157 GB, free: 15.42 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.5569, allocations: 24.62 kB / 1.157 GB, free: 15.41 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.5574, allocations: 298.3 kB / 1.158 GB, free: 15.23 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5574, allocations: 1.062 kB / 1.158 GB, free: 15.23 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.5574, allocations: 19.55 kB / 1.158 GB, free: 15.21 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.5574, allocations: 9.219 kB / 1.158 GB, free: 15.21 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.5577, allocations: 173.6 kB / 1.158 GB, free: 15.16 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.5589, allocations: 1.508 MB / 1.159 GB, free: 13.87 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.5591, allocations: 83.09 kB / 1.159 GB, free: 13.83 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.5592, allocations: 71.41 kB / 1.159 GB, free: 13.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.5593, allocations: 34.22 kB / 1.159 GB, free: 13.8 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5593, allocations: 32.91 kB / 1.16 GB, free: 13.76 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 2.165e-06/0.5593, allocations: 7.031 kB / 1.16 GB, free: 13.76 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.0004486/0.5598, allocations: 231.9 kB / 1.16 GB, free: 13.66 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.5598, allocations: 52.97 kB / 1.16 GB, free: 13.6 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.5601, allocations: 323.5 kB / 1.16 GB, free: 13.43 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5601, allocations: 28.17 kB / 1.16 GB, free: 13.39 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5602, allocations: 201.5 kB / 1.16 GB, free: 13.22 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5603, allocations: 41.02 kB / 1.16 GB, free: 13.19 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.5603, allocations: 48.41 kB / 1.16 GB, free: 13.16 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5604, allocations: 343 kB / 1.161 GB, free: 12.83 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5605, allocations: 62.84 kB / 1.161 GB, free: 12.81 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5608, allocations: 376 kB / 1.161 GB, free: 12.41 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.561, allocations: 235.1 kB / 1.161 GB, free: 12.23 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.561, allocations: 1.156 kB / 1.161 GB, free: 12.23 MB / 1.026 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003378/0.5614, allocations: 259.7 kB / 1.162 GB, free: 12.11 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5614, allocations: 13.56 kB / 1.162 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5614, allocations: 3.672 kB / 1.162 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.5614, allocations: 5.312 kB / 1.162 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5616, allocations: 51.52 kB / 1.162 GB, free: 12.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5616, allocations: 8.531 kB / 1.162 GB, free: 12.09 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5617, allocations: 39.62 kB / 1.162 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.5617, allocations: 10.31 kB / 1.162 GB, free: 12.07 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001568/0.5619, allocations: 172.1 kB / 1.162 GB, free: 11.96 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000201/0.5621, allocations: 374.6 kB / 1.162 GB, free: 11.56 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002255/0.5623, allocations: 225.4 kB / 1.162 GB, free: 11.39 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.205e-06/0.5623, allocations: 5.797 kB / 1.163 GB, free: 11.38 MB / 1.026 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003051/0.5626, allocations: 254.8 kB / 1.163 GB, free: 11.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.5626, allocations: 6.969 kB / 1.163 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5626, allocations: 7.625 kB / 1.163 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.5626, allocations: 9.969 kB / 1.163 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.5627, allocations: 49.23 kB / 1.163 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5627, allocations: 5.406 kB / 1.163 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5629, allocations: 30.5 kB / 1.163 GB, free: 11.24 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.5629, allocations: 11.02 kB / 1.163 GB, free: 11.24 MB / 1.026 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.0001027/0.563, allocations: 199.3 kB / 1.163 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.563, allocations: 30.05 kB / 1.163 GB, free: 11.03 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.5633, allocations: 173.5 kB / 1.163 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5633, allocations: 1.344 kB / 1.163 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5633, allocations: 0.6094 kB / 1.163 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5633, allocations: 5.75 kB / 1.163 GB, free: 10.94 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.564, allocations: 0.5623 MB / 1.164 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.564, allocations: 2.266 kB / 1.164 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.5641, allocations: 30.55 kB / 1.164 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.5641, allocations: 2.656 kB / 1.164 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5641, allocations: 6.312 kB / 1.164 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5641, allocations: 8.109 kB / 1.164 GB, free: 10.51 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5641, allocations: 1.406 kB / 1.164 GB, free: 10.51 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.5643, allocations: 301.3 kB / 1.164 GB, free: 10.28 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.5644, allocations: 37.22 kB / 1.164 GB, free: 10.26 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.5644, allocations: 7.141 kB / 1.164 GB, free: 10.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.5645, allocations: 10.34 kB / 1.164 GB, free: 10.25 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.5646, allocations: 18.2 kB / 1.164 GB, free: 10.25 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.5646, allocations: 4.297 kB / 1.164 GB, free: 10.25 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001794/0.5648, allocations: 226.7 kB / 1.164 GB, free: 10.13 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.5648, allocations: 0 / 1.164 GB, free: 10.13 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000474/0.5652, allocations: 135 kB / 1.165 GB, free: 10.11 MB / 1.026 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.0006626/0.5659, allocations: 0.8883 MB / 1.165 GB, free: 9.32 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.5663, allocations: 237.3 kB / 1.166 GB, free: 9.258 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5663, allocations: 0 / 1.166 GB, free: 9.258 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.5664, allocations: 65.36 kB / 1.166 GB, free: 9.238 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.5669, allocations: 119.9 kB / 1.166 GB, free: 9.207 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.5696, allocations: 2.802 MB / 1.169 GB, free: 7.191 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.5698, allocations: 167.8 kB / 1.169 GB, free: 7.105 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.57, allocations: 84.86 kB / 1.169 GB, free: 7.094 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5701, allocations: 90.16 kB / 1.169 GB, free: 7.031 MB / 1.026 GB Notification: Performance of SimCode: time 1.162e-06/0.5701, allocations: 0 / 1.169 GB, free: 7.031 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.5929, allocations: 8.841 MB / 1.178 GB, free: 5.52 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.192, allocations: 7.844 kB / 1.178 GB, free: 5.516 MB / 1.026 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 840.0] 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: 11.07356348540634]