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.001233/0.001233, allocations: 113 kB / 18.94 MB, free: 2.934 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.001377/0.001377, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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.838/2.838, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_12_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.001863/0.001863, allocations: 69.94 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2931, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.1801/0.4732, allocations: 173.1 MB / 1.495 GB, free: 4.039 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008573/0.4817, allocations: 7.421 MB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.4822, allocations: 19.81 kB / 1.502 GB, free: 12.57 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.4829, allocations: 218.6 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.4843, allocations: 0.61 MB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.4855, allocations: 442 kB / 1.503 GB, free: 11.32 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.000915/0.4865, allocations: 0.7206 MB / 1.504 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.4868, allocations: 219.4 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.4878, allocations: 0.5488 MB / 1.505 GB, free: 9.832 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.4881, allocations: 231 kB / 1.505 GB, free: 9.605 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.4881, allocations: 20 kB / 1.505 GB, free: 9.586 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.4892, allocations: 0.721 MB / 1.506 GB, free: 8.863 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.4893, allocations: 107.6 kB / 1.506 GB, free: 8.758 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.4895, allocations: 159.2 kB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.4903, allocations: 0.5683 MB / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4903, allocations: 0 / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4903, allocations: 0 / 1.507 GB, free: 8.031 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.4903, allocations: 0 / 1.507 GB, free: 8.031 MB / 1.201 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.0008421/0.4912, allocations: 0.5862 MB / 1.507 GB, free: 7.414 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4912, allocations: 8.031 kB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.4913, allocations: 62.42 kB / 1.507 GB, free: 7.336 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.4916, allocations: 67.75 kB / 1.507 GB, free: 7.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.492, allocations: 256.1 kB / 1.508 GB, free: 6.992 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.492, allocations: 16.44 kB / 1.508 GB, free: 6.977 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.4921, allocations: 20 kB / 1.508 GB, free: 6.957 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.4926, allocations: 300.6 kB / 1.508 GB, free: 6.625 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4926, allocations: 7.875 kB / 1.508 GB, free: 6.617 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.4926, allocations: 12 kB / 1.508 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4926, allocations: 8 kB / 1.508 GB, free: 6.598 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.493, allocations: 183.5 kB / 1.508 GB, free: 6.418 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.4946, allocations: 1.656 MB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.4948, allocations: 90.48 kB / 1.51 GB, free: 4.551 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.495, allocations: 72.8 kB / 1.51 GB, free: 4.477 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.4952, allocations: 39.95 kB / 1.51 GB, free: 4.438 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.4952, allocations: 42.5 kB / 1.51 GB, free: 4.387 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4952, allocations: 0 / 1.51 GB, free: 4.387 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.0006452/0.4958, allocations: 217.7 kB / 1.51 GB, free: 4.168 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.4959, allocations: 51.41 kB / 1.51 GB, free: 4.105 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.4962, allocations: 332.4 kB / 1.511 GB, free: 3.766 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4962, allocations: 25.7 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4964, allocations: 200.1 kB / 1.511 GB, free: 3.535 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.4964, allocations: 43.53 kB / 1.511 GB, free: 3.492 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.4965, allocations: 49.7 kB / 1.511 GB, free: 3.438 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4966, allocations: 342.8 kB / 1.511 GB, free: 3.094 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4968, allocations: 52.83 kB / 1.511 GB, free: 3.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.497, allocations: 206.6 kB / 1.511 GB, free: 2.777 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.4974, allocations: 233.4 kB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4974, allocations: 3.938 kB / 1.512 GB, free: 2.496 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004474/0.4978, allocations: 249.4 kB / 1.512 GB, free: 2.246 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4978, allocations: 16 kB / 1.512 GB, free: 2.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4979, allocations: 4 kB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4979, allocations: 4 kB / 1.512 GB, free: 2.223 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.498, allocations: 47.91 kB / 1.512 GB, free: 2.176 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4981, allocations: 4 kB / 1.512 GB, free: 2.172 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4983, allocations: 39.77 kB / 1.512 GB, free: 2.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.4983, allocations: 12 kB / 1.512 GB, free: 2.121 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002221/0.4985, allocations: 175.9 kB / 1.512 GB, free: 1.945 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002356/0.4988, allocations: 194.7 kB / 1.512 GB, free: 1.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003383/0.4991, allocations: 241.5 kB / 1.513 GB, free: 1.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.4991, allocations: 0 / 1.513 GB, free: 1.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004321/0.4995, allocations: 245.5 kB / 1.513 GB, free: 1.164 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.4995, allocations: 12.03 kB / 1.513 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4995, allocations: 4 kB / 1.513 GB, free: 1.148 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.4995, allocations: 4 kB / 1.513 GB, free: 1.145 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.4997, allocations: 47.91 kB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4997, allocations: 4 kB / 1.513 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.4999, allocations: 27.88 kB / 1.513 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4999, allocations: 15.98 kB / 1.513 GB, free: 1.051 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.0001169/0.5001, allocations: 204.1 kB / 1.513 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.5001, allocations: 35.75 kB / 1.513 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.5005, allocations: 176.3 kB / 1.513 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5005, allocations: 0 / 1.513 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5005, allocations: 0 / 1.513 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5005, allocations: 0 / 1.513 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.5014, allocations: 0.5812 MB / 1.514 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.5014, allocations: 4 kB / 1.514 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5015, allocations: 28.12 kB / 1.514 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5015, allocations: 8 kB / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5015, allocations: 4 kB / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5015, allocations: 0 / 1.514 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5015, allocations: 7.938 kB / 1.514 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.5019, allocations: 305.2 kB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/0.502, allocations: 39.8 kB / 1.514 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.502, allocations: 7.984 kB / 1.514 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.5022, allocations: 8 kB / 1.514 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.5022, allocations: 23.84 kB / 1.514 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5022, allocations: 4 kB / 1.514 GB, free: 15.5 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002225/0.5025, allocations: 235 kB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5025, allocations: 0 / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005144/0.503, allocations: 131.8 kB / 1.515 GB, free: 15.15 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.0007984/0.5038, allocations: 0.882 MB / 1.516 GB, free: 14.22 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.5043, allocations: 248.8 kB / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5043, allocations: 0 / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.5044, allocations: 60.16 kB / 1.516 GB, free: 13.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.5051, allocations: 124 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5083, allocations: 2.809 MB / 1.519 GB, free: 10.78 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.5087, allocations: 0.7793 MB / 1.519 GB, free: 9.973 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.5089, allocations: 91.53 kB / 1.52 GB, free: 9.883 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5091, allocations: 87.41 kB / 1.52 GB, free: 9.797 MB / 1.217 GB Notification: Performance of SimCode: time 2.8e-07/0.5091, allocations: 0 / 1.52 GB, free: 9.797 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.5443, allocations: 8.167 MB / 1.528 GB, free: 1.836 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.83, allocations: 4.547 kB / 1.528 GB, free: 1.832 MB / 1.217 GB " [Timeout remaining time 289] (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: 16.708378921961412]