Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001466/0.001466, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001994/0.001994, allocations: 215.7 kB / 23.04 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.824/2.824, allocations: 476.7 MB / 0.7714 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",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.002111/0.002111, allocations: 66.92 kB / 1.118 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 169.9 MB / 1.284 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006325/0.3521, allocations: 4.18 MB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3554, allocations: 2.465 MB / 1.291 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.3556, allocations: 0 / 1.291 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.3559, allocations: 47.67 kB / 1.291 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.3562, allocations: 103.3 kB / 1.291 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.3581, allocations: 0.5503 MB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005145/0.3586, allocations: 267.8 kB / 1.292 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.3586, allocations: 5.75 kB / 1.292 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.3589, allocations: 119.6 kB / 1.292 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3592, allocations: 95.59 kB / 1.292 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3592, allocations: 12 kB / 1.292 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.3606, allocations: 475.2 kB / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3607, allocations: 43.89 kB / 1.292 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3608, allocations: 87.58 kB / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3619, allocations: 419.1 kB / 1.293 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3619, allocations: 0 / 1.293 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3619, allocations: 3.938 kB / 1.293 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3619, allocations: 0 / 1.293 GB, free: 10.91 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.0009814/0.3629, allocations: 441.5 kB / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.3629, allocations: 12.03 kB / 1.293 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.151e-05/0.3629, allocations: 12.45 kB / 1.293 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.363, allocations: 46.73 kB / 1.293 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.3652, allocations: 188.6 kB / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.3656, allocations: 166.1 kB / 1.294 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.3656, allocations: 16.7 kB / 1.294 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.3656, allocations: 16.12 kB / 1.294 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007312/0.3664, allocations: 304.3 kB / 1.294 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3664, allocations: 0 / 1.294 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.3664, allocations: 11.98 kB / 1.294 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.3665, allocations: 8 kB / 1.294 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.3673, allocations: 264 kB / 1.294 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.3696, allocations: 1.353 MB / 1.296 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.3704, allocations: 182.4 kB / 1.296 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.3706, allocations: 76.81 kB / 1.296 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3707, allocations: 3.984 kB / 1.296 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3707, allocations: 38.56 kB / 1.296 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 4.348e-06/0.3707, allocations: 3.984 kB / 1.296 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009443/0.3716, allocations: 248.2 kB / 1.296 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.3717, allocations: 51.41 kB / 1.296 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.372, allocations: 164.2 kB / 1.296 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.372, allocations: 29.7 kB / 1.296 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3722, allocations: 132.2 kB / 1.296 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.3722, allocations: 67.44 kB / 1.297 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3724, allocations: 45.92 kB / 1.297 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3726, allocations: 330.8 kB / 1.297 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3728, allocations: 68.42 kB / 1.297 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.3731, allocations: 138.2 kB / 1.297 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.3736, allocations: 217.3 kB / 1.297 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3736, allocations: 0 / 1.297 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006667/0.3743, allocations: 259.5 kB / 1.298 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3743, allocations: 4 kB / 1.298 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3743, allocations: 4 kB / 1.298 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3744, allocations: 4 kB / 1.298 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3747, allocations: 60.2 kB / 1.298 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3747, allocations: 8 kB / 1.298 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.375, allocations: 35.77 kB / 1.298 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.375, allocations: 11.98 kB / 1.298 GB, free: 5.613 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001649/0.3752, allocations: 137.7 kB / 1.298 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.3752, allocations: 19.84 kB / 1.298 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007027/0.376, allocations: 222.6 kB / 1.298 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.376, allocations: 4 kB / 1.298 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.376, allocations: 4 kB / 1.298 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.376, allocations: 0 / 1.298 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.3763, allocations: 220.5 kB / 1.298 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3763, allocations: 3.938 kB / 1.298 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.3766, allocations: 55.91 kB / 1.298 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3767, allocations: 0 / 1.298 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3767, allocations: 3.984 kB / 1.298 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3767, allocations: 4 kB / 1.298 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3767, allocations: 0 / 1.298 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.3774, allocations: 301.2 kB / 1.299 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3775, allocations: 23.92 kB / 1.299 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3775, allocations: 0 / 1.299 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3778, allocations: 19.92 kB / 1.299 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3778, allocations: 11.97 kB / 1.299 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.3779, allocations: 16 kB / 1.299 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001506/0.378, allocations: 116.3 kB / 1.299 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.378, allocations: 0 / 1.299 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005135/0.3785, allocations: 63.89 kB / 1.299 GB, free: 4.336 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 (20): * Single equations (assignments): 20 * 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.001356/0.3799, allocations: 0.8627 MB / 1.3 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006691/0.3806, allocations: 179.7 kB / 1.3 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.3806, allocations: 0 / 1.3 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.3808, allocations: 83.88 kB / 1.3 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.3814, allocations: 56.56 kB / 1.3 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.3855, allocations: 2.18 MB / 1.302 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3859, allocations: 0.7216 MB / 1.303 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003115/0.3862, allocations: 49.92 kB / 1.303 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3864, allocations: 51.41 kB / 1.303 GB, free: 15.98 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/0.3864, allocations: 0 / 1.303 GB, free: 15.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.4161, allocations: 5.48 MB / 1.308 GB, free: 10.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 9.25 kB / 1.308 GB, free: 10.68 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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: 18.869802698027343]