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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 113.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 489.1 MB / 0.7678 GB, free: 12 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001938/0.001938, allocations: 63.91 kB / 1.101 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8056, allocations: 163.8 MB / 1.261 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2088/1.014, allocations: 169.5 MB / 1.427 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009842/1.024, allocations: 7.335 MB / 1.434 GB, free: 5.691 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/1.025, allocations: 11.94 kB / 1.434 GB, free: 5.68 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/1.026, allocations: 210.6 kB / 1.434 GB, free: 5.473 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/1.027, allocations: 0.5794 MB / 1.434 GB, free: 4.891 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/1.028, allocations: 417.7 kB / 1.435 GB, free: 4.484 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009479/1.029, allocations: 0.7051 MB / 1.436 GB, free: 3.777 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004265/1.03, allocations: 271 kB / 1.436 GB, free: 3.512 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/1.031, allocations: 0.5136 MB / 1.436 GB, free: 2.996 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/1.031, allocations: 215.1 kB / 1.437 GB, free: 2.785 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/1.031, allocations: 20 kB / 1.437 GB, free: 2.766 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.032, allocations: 0.6899 MB / 1.437 GB, free: 2.074 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/1.032, allocations: 111.6 kB / 1.437 GB, free: 1.965 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/1.033, allocations: 155.2 kB / 1.437 GB, free: 1.812 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008777/1.034, allocations: 0.5683 MB / 1.438 GB, free: 1.242 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/1.034, allocations: 0 / 1.438 GB, free: 1.242 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.142e-06/1.034, allocations: 0 / 1.438 GB, free: 1.242 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.034, allocations: 0 / 1.438 GB, free: 1.242 MB / 1.139 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.0009435/1.035, allocations: 0.6614 MB / 1.439 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.035, allocations: 12.03 kB / 1.439 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/1.035, allocations: 58.48 kB / 1.439 GB, free: 464 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/1.035, allocations: 71.7 kB / 1.439 GB, free: 392 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/1.035, allocations: 318.3 kB / 1.439 GB, free: 36 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/1.036, allocations: 16.44 kB / 1.439 GB, free: 20 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/1.036, allocations: 20 kB / 1.439 GB, free: 0 / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/1.036, allocations: 300.6 kB / 1.439 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.036, allocations: 7.922 kB / 1.439 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/1.036, allocations: 12 kB / 1.439 GB, free: 15.65 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.036, allocations: 4 kB / 1.439 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/1.037, allocations: 183.7 kB / 1.44 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/1.038, allocations: 1.69 MB / 1.441 GB, free: 13.65 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/1.039, allocations: 94.61 kB / 1.441 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/1.039, allocations: 76.75 kB / 1.441 GB, free: 13.47 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/1.039, allocations: 190.2 kB / 1.442 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.039, allocations: 34.5 kB / 1.442 GB, free: 13.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/1.039, allocations: 7.938 kB / 1.442 GB, free: 13.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007234/1.04, allocations: 229.3 kB / 1.442 GB, free: 12.97 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.04, allocations: 51.41 kB / 1.442 GB, free: 12.91 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/1.04, allocations: 324.4 kB / 1.442 GB, free: 12.57 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/1.041, allocations: 29.7 kB / 1.442 GB, free: 12.54 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/1.041, allocations: 200.2 kB / 1.442 GB, free: 12.34 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/1.041, allocations: 47.58 kB / 1.443 GB, free: 12.29 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/1.041, allocations: 45.7 kB / 1.443 GB, free: 12.24 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.041, allocations: 338.8 kB / 1.443 GB, free: 11.9 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/1.041, allocations: 60.81 kB / 1.443 GB, free: 11.84 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.042, allocations: 203.5 kB / 1.443 GB, free: 11.58 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/1.042, allocations: 233.5 kB / 1.443 GB, free: 11.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.042, allocations: 4 kB / 1.443 GB, free: 11.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004813/1.042, allocations: 257 kB / 1.444 GB, free: 11.04 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.042, allocations: 8 kB / 1.444 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.042, allocations: 4.406 kB / 1.444 GB, free: 11.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.042, allocations: 8 kB / 1.444 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.043, allocations: 43.92 kB / 1.444 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.043, allocations: 7.984 kB / 1.444 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/1.043, allocations: 35.83 kB / 1.444 GB, free: 10.94 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/1.043, allocations: 16 kB / 1.444 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002444/1.043, allocations: 164.1 kB / 1.444 GB, free: 10.76 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002692/1.043, allocations: 193.1 kB / 1.444 GB, free: 10.51 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003816/1.044, allocations: 225.5 kB / 1.444 GB, free: 10.24 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.044, allocations: 3.984 kB / 1.444 GB, free: 10.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004888/1.044, allocations: 257 kB / 1.445 GB, free: 9.977 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.044, allocations: 8 kB / 1.445 GB, free: 9.969 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.044, allocations: 4.406 kB / 1.445 GB, free: 9.965 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/1.044, allocations: 8 kB / 1.445 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/1.045, allocations: 51.91 kB / 1.445 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.045, allocations: 4 kB / 1.445 GB, free: 9.902 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.045, allocations: 27.88 kB / 1.445 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.045, allocations: 12 kB / 1.445 GB, free: 9.863 MB / 1.154 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.0001264/1.045, allocations: 200.1 kB / 1.445 GB, free: 9.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/1.045, allocations: 36.03 kB / 1.445 GB, free: 9.625 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/1.045, allocations: 172.3 kB / 1.445 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/1.046, allocations: 3.984 kB / 1.445 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.046, allocations: 0 / 1.445 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.046, allocations: 0 / 1.445 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/1.047, allocations: 0.6055 MB / 1.446 GB, free: 8.762 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.047, allocations: 7.984 kB / 1.446 GB, free: 8.754 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/1.047, allocations: 27.92 kB / 1.446 GB, free: 8.727 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/1.047, allocations: 4 kB / 1.446 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/1.047, allocations: 7.938 kB / 1.446 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.047, allocations: 4.219 kB / 1.446 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.047, allocations: 7.938 kB / 1.446 GB, free: 8.703 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/1.047, allocations: 297.2 kB / 1.446 GB, free: 8.375 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.047, allocations: 128.8 kB / 1.446 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.047, allocations: 4 kB / 1.446 GB, free: 8.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.048, allocations: 11.98 kB / 1.446 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/1.048, allocations: 19.92 kB / 1.446 GB, free: 8.195 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.048, allocations: 4 kB / 1.446 GB, free: 8.191 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002445/1.048, allocations: 227 kB / 1.446 GB, free: 7.973 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 0 / 1.446 GB, free: 7.973 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005678/1.048, allocations: 131.8 kB / 1.446 GB, free: 7.844 MB / 1.154 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.001119/1.05, allocations: 0.8997 MB / 1.447 GB, free: 6.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0005934/1.05, allocations: 249.4 kB / 1.448 GB, free: 6.668 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.05, allocations: 320 / 1.448 GB, free: 6.668 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.05, allocations: 67.84 kB / 1.448 GB, free: 6.602 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/1.051, allocations: 132.7 kB / 1.448 GB, free: 6.477 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/1.055, allocations: 2.808 MB / 1.451 GB, free: 3.457 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/1.055, allocations: 0.7756 MB / 1.451 GB, free: 2.656 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002588/1.055, allocations: 82.91 kB / 1.451 GB, free: 2.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/1.056, allocations: 91.41 kB / 1.451 GB, free: 2.48 MB / 1.154 GB Notification: Performance of SimCode: time 2.4e-07/1.056, allocations: 0 / 1.451 GB, free: 2.48 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/1.087, allocations: 7.906 MB / 1.459 GB, free: 10.72 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.58, allocations: 7.688 kB / 1.459 GB, free: 10.71 MB / 1.17 GB " [Timeout remaining time 290] (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_2/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: 15.438958219019696]