Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001252/0.001252, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001373/0.001373, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.796/2.796, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="cs",version="2.0",platforms={"static"}) [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.002106/0.002106, allocations: 59.91 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9157/0.9178, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2261/1.144, allocations: 172.9 MB / 1.49 GB, free: 9.004 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01001/1.154, allocations: 7.365 MB / 1.498 GB, free: 3.055 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000691/1.155, allocations: 16.31 kB / 1.498 GB, free: 3.047 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008037/1.155, allocations: 219.9 kB / 1.498 GB, free: 2.863 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/1.157, allocations: 0.5974 MB / 1.498 GB, free: 2.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/1.158, allocations: 429.8 kB / 1.499 GB, free: 2.105 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001108/1.159, allocations: 0.7155 MB / 1.499 GB, free: 1.695 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/1.16, allocations: 224 kB / 1.5 GB, free: 1.559 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/1.161, allocations: 0.5461 MB / 1.5 GB, free: 1.215 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/1.161, allocations: 226.8 kB / 1.5 GB, free: 1.082 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/1.161, allocations: 18.88 kB / 1.5 GB, free: 1.082 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/1.163, allocations: 0.717 MB / 1.501 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/1.163, allocations: 114.2 kB / 1.501 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/1.163, allocations: 159.4 kB / 1.501 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/1.164, allocations: 0.5641 MB / 1.502 GB, free: 152 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.164, allocations: 1.094 kB / 1.502 GB, free: 152 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.853e-06/1.164, allocations: 0 / 1.502 GB, free: 152 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.164, allocations: 3.938 kB / 1.502 GB, free: 148 kB / 1.17 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.001006/1.165, allocations: 0.6583 MB / 1.503 GB, free: 15.55 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.165, allocations: 17.86 kB / 1.503 GB, free: 15.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.507e-05/1.165, allocations: 9.125 kB / 1.503 GB, free: 15.54 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/1.165, allocations: 58.42 kB / 1.503 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/1.166, allocations: 64.89 kB / 1.503 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/1.166, allocations: 321.4 kB / 1.503 GB, free: 15.15 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.166, allocations: 19.09 kB / 1.503 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/1.166, allocations: 24.31 kB / 1.503 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/1.167, allocations: 307.9 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.167, allocations: 1.25 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/1.167, allocations: 6.594 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/1.167, allocations: 5.281 kB / 1.503 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/1.167, allocations: 177.2 kB / 1.504 GB, free: 14.74 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/1.169, allocations: 1.694 MB / 1.505 GB, free: 12.92 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/1.169, allocations: 90.5 kB / 1.505 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/1.169, allocations: 80.78 kB / 1.505 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/1.17, allocations: 190.2 kB / 1.506 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.17, allocations: 30.56 kB / 1.506 GB, free: 12.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/1.17, allocations: 8 kB / 1.506 GB, free: 12.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0006987/1.17, allocations: 225.3 kB / 1.506 GB, free: 12.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.17, allocations: 51.41 kB / 1.506 GB, free: 12.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/1.171, allocations: 328.5 kB / 1.506 GB, free: 11.85 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/1.171, allocations: 25.7 kB / 1.506 GB, free: 11.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/1.171, allocations: 200.2 kB / 1.506 GB, free: 11.62 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/1.171, allocations: 43.58 kB / 1.506 GB, free: 11.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/1.171, allocations: 49.7 kB / 1.507 GB, free: 11.52 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.171, allocations: 342.8 kB / 1.507 GB, free: 11.18 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/1.171, allocations: 56.81 kB / 1.507 GB, free: 11.12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/1.172, allocations: 203.7 kB / 1.507 GB, free: 10.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.172, allocations: 229.5 kB / 1.507 GB, free: 10.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.172, allocations: 0 / 1.507 GB, free: 10.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004891/1.173, allocations: 253.1 kB / 1.508 GB, free: 10.33 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.173, allocations: 11.94 kB / 1.508 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.173, allocations: 4.406 kB / 1.508 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.173, allocations: 11.94 kB / 1.508 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/1.173, allocations: 43.97 kB / 1.508 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.173, allocations: 7.938 kB / 1.508 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/1.173, allocations: 35.83 kB / 1.508 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/1.173, allocations: 15.98 kB / 1.508 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00025/1.173, allocations: 177.9 kB / 1.508 GB, free: 10.03 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002683/1.174, allocations: 193 kB / 1.508 GB, free: 9.777 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003792/1.174, allocations: 229.6 kB / 1.508 GB, free: 9.504 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/1.174, allocations: 0 / 1.508 GB, free: 9.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004874/1.175, allocations: 257 kB / 1.508 GB, free: 9.246 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.175, allocations: 8 kB / 1.508 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-06/1.175, allocations: 0 / 1.508 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/1.175, allocations: 8.406 kB / 1.508 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.175, allocations: 47.92 kB / 1.509 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.175, allocations: 11.92 kB / 1.509 GB, free: 9.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/1.175, allocations: 27.88 kB / 1.509 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/1.175, allocations: 12 kB / 1.509 GB, free: 9.133 MB / 1.186 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.0001484/1.175, allocations: 200.1 kB / 1.509 GB, free: 8.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/1.175, allocations: 31.81 kB / 1.509 GB, free: 8.898 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/1.176, allocations: 168.4 kB / 1.509 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.176, allocations: 0 / 1.509 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.176, allocations: 4 kB / 1.509 GB, free: 8.723 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.176, allocations: 3.984 kB / 1.509 GB, free: 8.719 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.177, allocations: 0.6171 MB / 1.51 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.177, allocations: 4 kB / 1.51 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/1.177, allocations: 19.98 kB / 1.51 GB, free: 8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.177, allocations: 4 kB / 1.51 GB, free: 7.996 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.177, allocations: 4 kB / 1.51 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.177, allocations: 12.14 kB / 1.51 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.177, allocations: 7.938 kB / 1.51 GB, free: 7.973 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/1.177, allocations: 297.8 kB / 1.51 GB, free: 7.645 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.177, allocations: 120.8 kB / 1.51 GB, free: 7.508 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/1.177, allocations: 7.922 kB / 1.51 GB, free: 7.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.178, allocations: 15.94 kB / 1.51 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/1.178, allocations: 11.98 kB / 1.51 GB, free: 7.473 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/1.178, allocations: 4 kB / 1.51 GB, free: 7.469 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002602/1.178, allocations: 235 kB / 1.51 GB, free: 7.242 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.178, allocations: 0 / 1.51 GB, free: 7.242 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006298/1.179, allocations: 131.8 kB / 1.51 GB, free: 7.113 MB / 1.186 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.0009645/1.18, allocations: 0.8897 MB / 1.511 GB, free: 6.176 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006438/1.18, allocations: 244.1 kB / 1.512 GB, free: 5.938 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.18, allocations: 1.625 kB / 1.512 GB, free: 5.938 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/1.18, allocations: 68.27 kB / 1.512 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/1.181, allocations: 122.2 kB / 1.512 GB, free: 5.75 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/1.185, allocations: 2.798 MB / 1.514 GB, free: 2.742 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.186, allocations: 0.7948 MB / 1.515 GB, free: 1.922 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002633/1.186, allocations: 78.91 kB / 1.515 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.186, allocations: 87.41 kB / 1.515 GB, free: 1.758 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/1.186, allocations: 4 kB / 1.515 GB, free: 1.754 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/1.225, allocations: 7.978 MB / 1.523 GB, free: 9.941 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/9.678, allocations: 12.05 kB / 1.523 GB, free: 9.934 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.82577582495287]