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.001289/0.001289, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00146/0.00146, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.305 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.002174/0.002174, allocations: 67.02 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00596/0.3504, allocations: 4.171 MB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.3534, allocations: 2.461 MB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.3535, allocations: 4 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3538, allocations: 47.69 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.354, allocations: 103.3 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3554, allocations: 0.5475 MB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.3557, allocations: 267.8 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3558, allocations: 9.734 kB / 1.292 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.356, allocations: 115.6 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3562, allocations: 99.62 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3562, allocations: 11.94 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008757/0.3571, allocations: 479.2 kB / 1.293 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.3571, allocations: 43.83 kB / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.3572, allocations: 87.64 kB / 1.293 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3579, allocations: 414.8 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3579, allocations: 0 / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3579, allocations: 0 / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.3579, allocations: 3.938 kB / 1.293 GB, free: 2.367 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.000793/0.3587, allocations: 449.4 kB / 1.294 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3587, allocations: 11.97 kB / 1.294 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.3608, allocations: 188.6 kB / 1.294 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.3612, allocations: 162.2 kB / 1.294 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.3612, allocations: 16.7 kB / 1.294 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.3612, allocations: 16.38 kB / 1.294 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.3619, allocations: 312.3 kB / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3619, allocations: 0 / 1.294 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.362, allocations: 8 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.362, allocations: 4 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.3627, allocations: 263.6 kB / 1.295 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3645, allocations: 1.356 MB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.3651, allocations: 188.5 kB / 1.296 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3653, allocations: 76.8 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3654, allocations: 3.984 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3654, allocations: 42.56 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.3654, allocations: 0 / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0007845/0.3662, allocations: 233.4 kB / 1.296 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3662, allocations: 55.41 kB / 1.297 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3664, allocations: 158.2 kB / 1.297 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3664, allocations: 37.64 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3665, allocations: 124.2 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.3666, allocations: 71.42 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.3667, allocations: 45.94 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3668, allocations: 334.8 kB / 1.297 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.367, allocations: 56.42 kB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.3673, allocations: 143 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.3678, allocations: 224.3 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3678, allocations: 4 kB / 1.298 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006145/0.3684, allocations: 253.1 kB / 1.298 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3684, allocations: 4 kB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3684, allocations: 4 kB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3684, allocations: 4 kB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.3688, allocations: 67.83 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3688, allocations: 4 kB / 1.298 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.369, allocations: 36.14 kB / 1.298 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3691, allocations: 8 kB / 1.298 GB, free: 13.13 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.0001316/0.3692, allocations: 141.6 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.3693, allocations: 15.91 kB / 1.298 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.3699, allocations: 222.6 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.3699, allocations: 7.984 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3699, allocations: 0 / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3699, allocations: 0 / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.3702, allocations: 216.5 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3702, allocations: 4 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.3705, allocations: 51.91 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3705, allocations: 0 / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.3705, allocations: 0 / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3705, allocations: 4 kB / 1.299 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3705, allocations: 0 / 1.299 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3711, allocations: 301.3 kB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.3712, allocations: 43.75 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3712, allocations: 0 / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3715, allocations: 15.98 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3716, allocations: 11.97 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.3716, allocations: 12 kB / 1.299 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.393e-05/0.3717, allocations: 113.3 kB / 1.299 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3717, allocations: 4 kB / 1.299 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003795/0.3721, allocations: 63.94 kB / 1.299 GB, free: 11.86 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.0002257/0.3723, allocations: 135.1 kB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.3728, allocations: 179.8 kB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3728, allocations: 0 / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3731, allocations: 72.52 kB / 1.3 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3735, allocations: 72.16 kB / 1.3 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3745, allocations: 448.2 kB / 1.3 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3749, allocations: 0.7177 MB / 1.301 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.375, allocations: 27.42 kB / 1.301 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.375, allocations: 0 / 1.301 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.005567/0.3806, allocations: 2.951 MB / 1.304 GB, free: 7.234 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] 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: 11.336539751995588]