Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001367/0.001367, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001618/0.001618, allocations: 219 kB / 23.03 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] 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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_12_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.002038/0.002038, allocations: 65.84 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005506/0.3667, allocations: 3.89 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3695, allocations: 2.231 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.3696, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3699, allocations: 47.67 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.3703, allocations: 107.3 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.3718, allocations: 0.5385 MB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.3722, allocations: 263.8 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3722, allocations: 9.75 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3725, allocations: 123.5 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3726, allocations: 95.64 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.3727, allocations: 11.98 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007869/0.3734, allocations: 403.3 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.3735, allocations: 39.89 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.3736, allocations: 79.7 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.3743, allocations: 407 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3743, allocations: 0 / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3743, allocations: 0 / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3743, allocations: 0 / 1.335 GB, free: 9.254 MB / 1.029 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.0007977/0.3751, allocations: 455.2 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3751, allocations: 12.03 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.829e-05/0.3752, allocations: 8.516 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.3752, allocations: 50.73 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.3775, allocations: 192.6 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.3779, allocations: 146.3 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3779, allocations: 12.7 kB / 1.336 GB, free: 8.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.3779, allocations: 16.12 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.3788, allocations: 0.5057 MB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3788, allocations: 7.938 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.3788, allocations: 8 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.3788, allocations: 4 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.3796, allocations: 259.6 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.3814, allocations: 1.219 MB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.3821, allocations: 182.5 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3823, allocations: 72.81 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3823, allocations: 7.984 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3824, allocations: 34.56 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3824, allocations: 0 / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000817/0.3832, allocations: 251.9 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3832, allocations: 55.41 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3834, allocations: 159.8 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3834, allocations: 25.7 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.3835, allocations: 132.2 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.3836, allocations: 63.44 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3837, allocations: 49.92 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3838, allocations: 326.8 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.384, allocations: 68.41 kB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.3843, allocations: 143.7 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3848, allocations: 213.2 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3849, allocations: 4 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006282/0.3855, allocations: 258.7 kB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3855, allocations: 8 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3855, allocations: 4 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3855, allocations: 4 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.3859, allocations: 63.89 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.386, allocations: 4 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3862, allocations: 32.11 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3862, allocations: 16 kB / 1.34 GB, free: 3.879 MB / 1.029 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.0001543/0.3864, allocations: 141.6 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.3864, allocations: 15.91 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.3871, allocations: 222.6 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3871, allocations: 4 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3871, allocations: 3.984 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3871, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.3875, allocations: 212.5 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3875, allocations: 0 / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.3878, allocations: 55.91 kB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3878, allocations: 0 / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3878, allocations: 7.984 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3878, allocations: 8 kB / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3878, allocations: 0 / 1.34 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.3884, allocations: 296.6 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.3885, allocations: 27.88 kB / 1.341 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3886, allocations: 8 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.3888, allocations: 11.98 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3889, allocations: 19.97 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.3889, allocations: 4 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001013/0.389, allocations: 117.7 kB / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.389, allocations: 0 / 1.341 GB, free: 2.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004003/0.3894, allocations: 59.94 kB / 1.341 GB, free: 2.613 MB / 1.029 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.001035/0.3904, allocations: 0.8776 MB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.391, allocations: 167.8 kB / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.391, allocations: 4 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3912, allocations: 81.77 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.3918, allocations: 69.59 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.3953, allocations: 2.174 MB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3954, allocations: 99.12 kB / 1.344 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003022/0.3957, allocations: 57.91 kB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3958, allocations: 51.34 kB / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of SimCode: time 7.82e-07/0.3958, allocations: 0 / 1.344 GB, free: 14.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.4244, allocations: 5.76 MB / 1.35 GB, free: 9.344 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 14.25 kB / 1.35 GB, free: 9.332 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.19679136807099]