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.001976/0.001976, 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.001694/0.001694, allocations: 220.4 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.895/2.895, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 176] 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.0021/0.0021, allocations: 65.95 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007634/0.3583, allocations: 3.885 MB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.3619, allocations: 2.224 MB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.3621, allocations: 4 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.3625, allocations: 43.69 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.363, allocations: 107.3 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.3655, allocations: 0.5423 MB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008417/0.3663, allocations: 267.8 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3664, allocations: 9.75 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.3669, allocations: 123.5 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.3673, allocations: 95.64 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.3673, allocations: 8 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.369, allocations: 403.3 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.3691, allocations: 39.89 kB / 1.292 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.3693, allocations: 75.7 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.3709, allocations: 408.2 kB / 1.292 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3709, allocations: 3.938 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.006e-06/0.371, allocations: 0 / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.371, allocations: 0 / 1.292 GB, free: 2.34 MB / 0.9825 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.001145/0.3721, allocations: 453.3 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3722, allocations: 8.031 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.071e-05/0.3722, allocations: 4.516 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.3723, allocations: 58.73 kB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.3747, allocations: 188.6 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.3752, allocations: 154.3 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3752, allocations: 8.703 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.3753, allocations: 24.12 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.3762, allocations: 0.5018 MB / 1.294 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3762, allocations: 3.938 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.3762, allocations: 12 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3762, allocations: 4 kB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.3771, allocations: 264.1 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.379, allocations: 1.2 MB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.3798, allocations: 190.4 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.38, allocations: 72.81 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.38, allocations: 3.984 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3801, allocations: 38.56 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 2.023e-06/0.3801, allocations: 0 / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008644/0.3809, allocations: 249.3 kB / 1.295 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.381, allocations: 51.41 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.3812, allocations: 164.4 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3812, allocations: 25.7 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3813, allocations: 132.2 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.3814, allocations: 67.42 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3815, allocations: 49.92 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3817, allocations: 330.8 kB / 1.296 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.3819, allocations: 68.41 kB / 1.296 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.3822, allocations: 138.3 kB / 1.296 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.3827, allocations: 223.7 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3827, allocations: 0 / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006465/0.3833, allocations: 257.1 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3834, allocations: 10.03 kB / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3834, allocations: 0 / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3834, allocations: 4 kB / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.3838, allocations: 72.2 kB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3838, allocations: 4 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.3841, allocations: 31.83 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3841, allocations: 11.94 kB / 1.297 GB, free: 12.96 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.0001834/0.3843, allocations: 145.6 kB / 1.297 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.3844, allocations: 15.91 kB / 1.297 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/0.3851, allocations: 222.6 kB / 1.297 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3851, allocations: 0 / 1.297 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3851, allocations: 8 kB / 1.297 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3851, allocations: 3.984 kB / 1.297 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.3855, allocations: 204.5 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3855, allocations: 0 / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.3858, allocations: 51.91 kB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3858, allocations: 0 / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.3858, allocations: 7.984 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3858, allocations: 4 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3858, allocations: 0 / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.3864, allocations: 300.8 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.3865, allocations: 27.88 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3866, allocations: 4 kB / 1.298 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.3868, allocations: 15.98 kB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3869, allocations: 11.97 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3869, allocations: 12 kB / 1.298 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001001/0.387, allocations: 113.3 kB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.387, allocations: 4 kB / 1.298 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003921/0.3874, allocations: 67.89 kB / 1.298 GB, free: 11.69 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.001088/0.3885, allocations: 0.8668 MB / 1.299 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005885/0.3891, allocations: 175.7 kB / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3891, allocations: 0.625 kB / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.3893, allocations: 83.88 kB / 1.299 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.3899, allocations: 59.88 kB / 1.299 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.3936, allocations: 2.176 MB / 1.301 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.3937, allocations: 99.38 kB / 1.302 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002883/0.3939, allocations: 49.92 kB / 1.302 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3941, allocations: 51.41 kB / 1.302 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.3941, allocations: 3.938 kB / 1.302 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.4233, allocations: 5.765 MB / 1.307 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.55, allocations: 9.562 kB / 1.307 GB, free: 2.43 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.55255661101546]