Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001311/0.001311, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001547/0.001547, allocations: 222.8 kB / 22.26 MB, free: 5.215 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.992 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.426/3.426, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.002072/0.002072, allocations: 63.42 kB / 1.177 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 180.2 MB / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005952/0.3575, allocations: 4.163 MB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3606, allocations: 2.473 MB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.3607, allocations: 0 / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.361, allocations: 47.67 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3612, allocations: 99.34 kB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3627, allocations: 0.5482 MB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.363, allocations: 255.9 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3631, allocations: 9.75 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.3633, allocations: 119.5 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3635, allocations: 99.59 kB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.3635, allocations: 8 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009363/0.3644, allocations: 479.2 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.3645, allocations: 43.78 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3646, allocations: 87.77 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.3653, allocations: 422.8 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3653, allocations: 0 / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3653, allocations: 0 / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3653, allocations: 0 / 1.362 GB, free: 15.51 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.0007673/0.366, allocations: 453.3 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3661, allocations: 8.031 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.3661, allocations: 54.67 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.3683, allocations: 188.6 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3686, allocations: 150.4 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3686, allocations: 12.7 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3687, allocations: 24.36 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.3693, allocations: 304.2 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3693, allocations: 3.938 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.3694, allocations: 12 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.3694, allocations: 4 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.3701, allocations: 267.6 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3719, allocations: 1.364 MB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.3726, allocations: 182.5 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.3728, allocations: 72.81 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3728, allocations: 4 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3728, allocations: 38.56 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.3729, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007777/0.3736, allocations: 247 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3737, allocations: 55.41 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3738, allocations: 155.3 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3738, allocations: 33.7 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.3739, allocations: 128.2 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.374, allocations: 67.42 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.3741, allocations: 57.88 kB / 1.365 GB, free: 11.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3742, allocations: 326.7 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3744, allocations: 68.42 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.3747, allocations: 142.2 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.3752, allocations: 215.5 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3752, allocations: 4 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006253/0.3758, allocations: 249.2 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3758, allocations: 8 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3759, allocations: 4 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3759, allocations: 4 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3763, allocations: 63.89 kB / 1.366 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.3763, allocations: 7.938 kB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.3765, allocations: 36.14 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.3765, allocations: 11.98 kB / 1.366 GB, free: 10.2 MB / 1.061 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.0001265/0.3767, allocations: 134.3 kB / 1.366 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.3767, allocations: 15.91 kB / 1.366 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.3774, allocations: 228.7 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3774, allocations: 4 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3774, allocations: 3.938 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.3774, allocations: 0 / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.3777, allocations: 216.5 kB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3777, allocations: 4 kB / 1.367 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.378, allocations: 39.97 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.378, allocations: 4 kB / 1.367 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.378, allocations: 7.984 kB / 1.367 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.378, allocations: 0 / 1.367 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.378, allocations: 4 kB / 1.367 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.3786, allocations: 300.9 kB / 1.367 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.3787, allocations: 31.81 kB / 1.367 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.3787, allocations: 8 kB / 1.367 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.379, allocations: 15.98 kB / 1.367 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.379, allocations: 15.95 kB / 1.367 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.3791, allocations: 12 kB / 1.367 GB, free: 9.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.3792, allocations: 118.3 kB / 1.367 GB, free: 8.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 1.367 GB, free: 8.988 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003769/0.3795, allocations: 63.94 kB / 1.368 GB, free: 8.926 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 (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.0009604/0.3805, allocations: 0.8666 MB / 1.368 GB, free: 8.035 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.381, allocations: 169.6 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.381, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.3813, allocations: 83.83 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.3817, allocations: 62.42 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.385, allocations: 2.176 MB / 1.371 GB, free: 5.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3854, allocations: 0.7133 MB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002697/0.3856, allocations: 49.92 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3858, allocations: 55.41 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/0.3858, allocations: 0 / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4186, allocations: 5.45 MB / 1.377 GB, free: 15.31 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 9.656 kB / 1.377 GB, free: 15.3 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.83566374820657]