Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.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.001437/0.001437, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001722/0.001722, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 3.493/3.493, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] 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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",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.00223/0.00223, allocations: 67.95 kB / 1.177 GB, free: 17.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 180.2 MB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007425/0.3845, allocations: 4.838 MB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.3886, allocations: 2.733 MB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.3888, allocations: 4 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.3891, allocations: 51.67 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.3895, allocations: 99.41 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.3911, allocations: 0.5225 MB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.3915, allocations: 231.9 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.3915, allocations: 9.734 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.3918, allocations: 115.6 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.392, allocations: 95.59 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.392, allocations: 11.94 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.3929, allocations: 387.3 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.393, allocations: 47.81 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.3931, allocations: 75.66 kB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.3939, allocations: 371.1 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3939, allocations: 4 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3939, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3939, allocations: 0 / 1.362 GB, free: 14.92 MB / 1.061 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.0008564/0.3947, allocations: 457.3 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3948, allocations: 8.031 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.3948, allocations: 54.67 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.395, allocations: 20.84 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.3953, allocations: 158.3 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3953, allocations: 16.69 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3954, allocations: 16.38 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3958, allocations: 252 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3958, allocations: 0 / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.3958, allocations: 8 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.3959, allocations: 11.92 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.3964, allocations: 447.5 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.3977, allocations: 0.9246 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.398, allocations: 147.7 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3981, allocations: 60.81 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.3989, allocations: 463.8 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.399, allocations: 38.56 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.399, allocations: 0 / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003767/0.3994, allocations: 149.4 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3994, allocations: 51.41 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3996, allocations: 176.3 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.3996, allocations: 29.7 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3997, allocations: 144.1 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.3998, allocations: 55.55 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.3999, allocations: 49.7 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4, allocations: 330.8 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.4001, allocations: 39.97 kB / 1.366 GB, free: 10.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4003, allocations: 137.7 kB / 1.366 GB, free: 10.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.4006, allocations: 207 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4006, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003702/0.401, allocations: 208.1 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.401, allocations: 8 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.401, allocations: 8.031 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.401, allocations: 7.938 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.4012, allocations: 55.91 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4012, allocations: 8 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.4013, allocations: 27.78 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.4014, allocations: 15.94 kB / 1.367 GB, free: 9.84 MB / 1.061 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.0001362/0.4015, allocations: 133.7 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.4015, allocations: 15.91 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.4019, allocations: 162.8 kB / 1.367 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.4019, allocations: 7.938 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4019, allocations: 0 / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4019, allocations: 0 / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.4022, allocations: 184.7 kB / 1.367 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4022, allocations: 0 / 1.367 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.4023, allocations: 31.92 kB / 1.367 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4023, allocations: 0 / 1.367 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.4023, allocations: 7.984 kB / 1.367 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4023, allocations: 3.938 kB / 1.367 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4023, allocations: 0 / 1.367 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.4026, allocations: 219.4 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.4027, allocations: 39.8 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4027, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4029, allocations: 23.92 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.4029, allocations: 7.984 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.4029, allocations: 12 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001063/0.403, allocations: 124 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.403, allocations: 3.938 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004097/0.4035, allocations: 75.86 kB / 1.368 GB, free: 8.73 MB / 1.061 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.0007948/0.4043, allocations: 0.8349 MB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.4045, allocations: 109.9 kB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4045, allocations: 0 / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.4046, allocations: 44.86 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.405, allocations: 59.78 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4075, allocations: 2.05 MB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4078, allocations: 0.7128 MB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.408, allocations: 53.75 kB / 1.372 GB, free: 4.652 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.4081, allocations: 43.42 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4081, allocations: 0 / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.4432, allocations: 5.565 MB / 1.377 GB, free: 15.21 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.65, allocations: 11.12 kB / 1.377 GB, free: 15.2 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterProperties.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: 19.00235410989262]