Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001617/0.001617, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001887/0.001887, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.901/2.901, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 75.88 kB / 1.104 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8512, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01764/0.8688, allocations: 13.02 MB / 1.282 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.8721, allocations: 2.675 MB / 1.284 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.8722, allocations: 0 / 1.284 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.8725, allocations: 47.67 kB / 1.284 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.8728, allocations: 107.3 kB / 1.284 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.8741, allocations: 0.5093 MB / 1.285 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.8744, allocations: 231.9 kB / 1.285 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.8744, allocations: 5.562 kB / 1.285 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009296/0.8837, allocations: 3.584 MB / 1.288 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.884, allocations: 91.66 kB / 1.289 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.884, allocations: 12 kB / 1.289 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.8878, allocations: 1.095 MB / 1.29 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.8879, allocations: 43.81 kB / 1.29 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.8881, allocations: 87.66 kB / 1.29 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8891, allocations: 362.8 kB / 1.29 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8891, allocations: 4 kB / 1.29 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8891, allocations: 0 / 1.29 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8891, allocations: 0 / 1.29 GB, free: 15.2 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008487/0.89, allocations: 0.5123 MB / 1.291 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.89, allocations: 8.031 kB / 1.291 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.8901, allocations: 54.73 kB / 1.291 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.8903, allocations: 20.84 kB / 1.291 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.8906, allocations: 216.1 kB / 1.291 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.8906, allocations: 16.7 kB / 1.291 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.8907, allocations: 12.38 kB / 1.291 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.8911, allocations: 256 kB / 1.291 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8911, allocations: 3.984 kB / 1.291 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.8911, allocations: 11.94 kB / 1.291 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.8911, allocations: 4 kB / 1.291 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.8917, allocations: 431.5 kB / 1.292 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.8929, allocations: 0.9567 MB / 1.293 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.8932, allocations: 153.5 kB / 1.293 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.8933, allocations: 52.88 kB / 1.293 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.8949, allocations: 1.84 MB / 1.295 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.895, allocations: 42.56 kB / 1.295 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.895, allocations: 0 / 1.295 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.8953, allocations: 148.2 kB / 1.295 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.8954, allocations: 55.41 kB / 1.295 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.8956, allocations: 175.9 kB / 1.295 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.8956, allocations: 33.7 kB / 1.295 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.8957, allocations: 132.1 kB / 1.295 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.8957, allocations: 59.52 kB / 1.295 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.8958, allocations: 53.66 kB / 1.295 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.896, allocations: 330.8 kB / 1.296 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.8961, allocations: 31.98 kB / 1.296 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.8962, allocations: 142.2 kB / 1.296 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.8965, allocations: 201.5 kB / 1.296 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8965, allocations: 0 / 1.296 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003599/0.8969, allocations: 211.2 kB / 1.296 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8969, allocations: 4 kB / 1.296 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.8969, allocations: 8.031 kB / 1.296 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.8969, allocations: 11.94 kB / 1.296 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.8971, allocations: 59.84 kB / 1.296 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.8971, allocations: 4 kB / 1.296 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.8972, allocations: 35.67 kB / 1.296 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.8973, allocations: 16 kB / 1.296 GB, free: 8.227 MB / 0.9981 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.00013/0.8974, allocations: 133.7 kB / 1.296 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.8975, allocations: 11.95 kB / 1.296 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.8978, allocations: 165.8 kB / 1.297 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.8978, allocations: 3.938 kB / 1.297 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8978, allocations: 0 / 1.297 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8978, allocations: 0 / 1.297 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.8981, allocations: 221.5 kB / 1.297 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8981, allocations: 0 / 1.297 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.8982, allocations: 23.92 kB / 1.297 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8982, allocations: 4 kB / 1.297 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8982, allocations: 4 kB / 1.297 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8982, allocations: 3.938 kB / 1.297 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8982, allocations: 0 / 1.297 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.8985, allocations: 231.4 kB / 1.297 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.8986, allocations: 109 kB / 1.297 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.8986, allocations: 4 kB / 1.297 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.8988, allocations: 15.92 kB / 1.297 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.8989, allocations: 15.98 kB / 1.297 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.8989, allocations: 11.98 kB / 1.297 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000105/0.899, allocations: 124 kB / 1.297 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.899, allocations: 0 / 1.297 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004197/0.8994, allocations: 79.81 kB / 1.297 GB, free: 6.992 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000879/0.9003, allocations: 0.8338 MB / 1.298 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.9006, allocations: 114.6 kB / 1.298 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.9006, allocations: 3.938 kB / 1.298 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.9007, allocations: 43.92 kB / 1.298 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.9011, allocations: 47.89 kB / 1.298 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.9038, allocations: 2.047 MB / 1.3 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.9042, allocations: 0.7089 MB / 1.301 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.9044, allocations: 57.67 kB / 1.301 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.9045, allocations: 43.42 kB / 1.301 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/0.9045, allocations: 4 kB / 1.301 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.9351, allocations: 5.523 MB / 1.307 GB, free: 13.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.285, allocations: 4.141 kB / 1.307 GB, free: 13.49 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.476323544047773]