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.00144/0.00144, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001625/0.001625, allocations: 220 kB / 22.24 MB, free: 5.109 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.313/1.313, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 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.909/2.909, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> 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: 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.00191/0.00191, allocations: 72.33 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2965, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1756/0.472, allocations: 149.6 MB / 1.509 GB, free: 8.027 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.008735/0.4808, allocations: 6.7 MB / 1.516 GB, free: 1.309 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.4811, allocations: 15.88 kB / 1.516 GB, free: 1.293 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.4817, allocations: 218.5 kB / 1.516 GB, free: 1.078 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.4831, allocations: 0.5812 MB / 1.517 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.4841, allocations: 436.6 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008475/0.485, allocations: 0.7129 MB / 1.518 GB, free: 15.36 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.4853, allocations: 215.4 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009746/0.4863, allocations: 0.5527 MB / 1.519 GB, free: 14.59 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.4866, allocations: 211.1 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.4866, allocations: 20 kB / 1.519 GB, free: 14.37 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008773/0.4875, allocations: 0.565 MB / 1.519 GB, free: 13.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.4876, allocations: 115.6 kB / 1.52 GB, free: 13.69 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.4878, allocations: 127.4 kB / 1.52 GB, free: 13.56 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.4885, allocations: 0.5604 MB / 1.52 GB, free: 13 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4885, allocations: 8 kB / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4885, allocations: 0 / 1.52 GB, free: 12.99 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4885, allocations: 0 / 1.52 GB, free: 12.99 MB / 1.217 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.0008418/0.4894, allocations: 0.5784 MB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4894, allocations: 8.031 kB / 1.521 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.4895, allocations: 58.48 kB / 1.521 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.4898, allocations: 63.73 kB / 1.521 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.4902, allocations: 256.1 kB / 1.521 GB, free: 11.97 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.4903, allocations: 20.44 kB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.4903, allocations: 24 kB / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.4908, allocations: 300.5 kB / 1.521 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4908, allocations: 15.88 kB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.4908, allocations: 4 kB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4908, allocations: 8 kB / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.4912, allocations: 171.8 kB / 1.522 GB, free: 11.4 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.4928, allocations: 1.528 MB / 1.523 GB, free: 9.789 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.4931, allocations: 86.5 kB / 1.523 GB, free: 9.695 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4932, allocations: 72.8 kB / 1.523 GB, free: 9.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.4934, allocations: 35.97 kB / 1.523 GB, free: 9.586 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4934, allocations: 34.56 kB / 1.523 GB, free: 9.543 MB / 1.217 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.4934, allocations: 3.938 kB / 1.523 GB, free: 9.539 MB / 1.217 GB Notification: Performance of matching and sorting (n=11): time 0.0006556/0.4941, allocations: 229.3 kB / 1.524 GB, free: 9.309 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.4941, allocations: 51.41 kB / 1.524 GB, free: 9.246 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.4945, allocations: 332.4 kB / 1.524 GB, free: 8.91 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.4945, allocations: 33.7 kB / 1.524 GB, free: 8.871 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.4947, allocations: 192.1 kB / 1.524 GB, free: 8.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.4947, allocations: 47.64 kB / 1.524 GB, free: 8.633 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.4948, allocations: 49.7 kB / 1.524 GB, free: 8.578 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4949, allocations: 334.8 kB / 1.525 GB, free: 8.242 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.4951, allocations: 68.67 kB / 1.525 GB, free: 8.172 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.4954, allocations: 367.1 kB / 1.525 GB, free: 7.711 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.4958, allocations: 241.4 kB / 1.525 GB, free: 7.426 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4958, allocations: 4 kB / 1.525 GB, free: 7.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004697/0.4963, allocations: 253 kB / 1.525 GB, free: 7.168 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.4963, allocations: 4 kB / 1.525 GB, free: 7.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4963, allocations: 4 kB / 1.525 GB, free: 7.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4963, allocations: 4 kB / 1.525 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4965, allocations: 56.31 kB / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4965, allocations: 7.938 kB / 1.526 GB, free: 7.094 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4967, allocations: 43.75 kB / 1.526 GB, free: 7.051 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.4967, allocations: 12 kB / 1.526 GB, free: 7.039 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002289/0.497, allocations: 169.2 kB / 1.526 GB, free: 6.871 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003403/0.4973, allocations: 373 kB / 1.526 GB, free: 6.402 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003579/0.4977, allocations: 233.6 kB / 1.526 GB, free: 6.125 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.4977, allocations: 0 / 1.526 GB, free: 6.125 MB / 1.217 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000453/0.4981, allocations: 253 kB / 1.527 GB, free: 5.871 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4981, allocations: 8.406 kB / 1.527 GB, free: 5.863 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4981, allocations: 8 kB / 1.527 GB, free: 5.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.4982, allocations: 4 kB / 1.527 GB, free: 5.852 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4983, allocations: 51.91 kB / 1.527 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4983, allocations: 7.938 kB / 1.527 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.4986, allocations: 31.88 kB / 1.527 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.4986, allocations: 12 kB / 1.527 GB, free: 5.75 MB / 1.217 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.0001175/0.4987, allocations: 192.1 kB / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.4987, allocations: 43.73 kB / 1.527 GB, free: 5.512 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.4991, allocations: 164.4 kB / 1.527 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4991, allocations: 0 / 1.527 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4991, allocations: 0 / 1.527 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4991, allocations: 0 / 1.527 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.5, allocations: 0.5733 MB / 1.528 GB, free: 4.699 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5, allocations: 0 / 1.528 GB, free: 4.699 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5002, allocations: 23.98 kB / 1.528 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5002, allocations: 7.938 kB / 1.528 GB, free: 4.668 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5002, allocations: 4 kB / 1.528 GB, free: 4.664 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.5002, allocations: 4 kB / 1.528 GB, free: 4.66 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5002, allocations: 11.86 kB / 1.528 GB, free: 4.648 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.5006, allocations: 302 kB / 1.528 GB, free: 4.316 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.5007, allocations: 39.8 kB / 1.528 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5007, allocations: 4 kB / 1.528 GB, free: 4.273 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.5009, allocations: 7.984 kB / 1.528 GB, free: 4.266 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.5009, allocations: 23.86 kB / 1.528 GB, free: 4.242 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5009, allocations: 4 kB / 1.528 GB, free: 4.238 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002265/0.5012, allocations: 227 kB / 1.528 GB, free: 4.02 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5012, allocations: 0 / 1.528 GB, free: 4.02 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005256/0.5017, allocations: 135.8 kB / 1.528 GB, free: 3.887 MB / 1.217 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.0008186/0.5025, allocations: 0.8898 MB / 1.529 GB, free: 2.949 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005473/0.5031, allocations: 237.7 kB / 1.529 GB, free: 2.719 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5031, allocations: 0 / 1.529 GB, free: 2.719 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5032, allocations: 67.91 kB / 1.53 GB, free: 2.652 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.5039, allocations: 125.8 kB / 1.53 GB, free: 2.531 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.5073, allocations: 2.806 MB / 1.532 GB, free: 15.5 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.5074, allocations: 171.6 kB / 1.533 GB, free: 15.32 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.5077, allocations: 82.91 kB / 1.533 GB, free: 15.24 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5078, allocations: 95.39 kB / 1.533 GB, free: 15.14 MB / 1.233 GB Notification: Performance of SimCode: time 3.2e-07/0.5078, allocations: 3.938 kB / 1.533 GB, free: 15.14 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.5451, allocations: 8.936 MB / 1.541 GB, free: 6.457 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.03, allocations: 9.5 kB / 1.541 GB, free: 6.449 MB / 1.233 GB " [Timeout remaining time 289] (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/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: 16.97294608084485]