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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006874/0.006873, allocations: 100.9 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 189.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7453 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3815, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00566/0.3872, allocations: 4.062 MB / 1.23 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3901, allocations: 2.43 MB / 1.232 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3902, allocations: 0 / 1.232 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.3905, allocations: 47.67 kB / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.3909, allocations: 103.3 kB / 1.232 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.3924, allocations: 0.5146 MB / 1.233 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3927, allocations: 267.8 kB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.3928, allocations: 17.5 kB / 1.233 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.393, allocations: 115.5 kB / 1.233 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3932, allocations: 91.66 kB / 1.233 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.3932, allocations: 12 kB / 1.233 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000925/0.3941, allocations: 451.3 kB / 1.234 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.3942, allocations: 43.83 kB / 1.234 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.751e-05/0.3943, allocations: 87.64 kB / 1.234 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.395, allocations: 406.8 kB / 1.234 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.395, allocations: 0 / 1.234 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.395, allocations: 0 / 1.234 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.395, allocations: 7.984 kB / 1.234 GB, free: 0.5039 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.0007934/0.3958, allocations: 0.5025 MB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3958, allocations: 8.031 kB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.3978, allocations: 180.6 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.3982, allocations: 216.1 kB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.3982, allocations: 12.7 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.3982, allocations: 16.31 kB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.3989, allocations: 312.3 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3989, allocations: 0 / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.399, allocations: 8 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.399, allocations: 4 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007509/0.3997, allocations: 267.6 kB / 1.236 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.4014, allocations: 1.389 MB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.4021, allocations: 197.6 kB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.4023, allocations: 84.81 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.4024, allocations: 3.938 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.4024, allocations: 34.56 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.4024, allocations: 0 / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0008155/0.4032, allocations: 247.1 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.4033, allocations: 55.41 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.4035, allocations: 150.2 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.4036, allocations: 33.7 kB / 1.238 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.4037, allocations: 128.2 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.4037, allocations: 67.45 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.4038, allocations: 53.89 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.404, allocations: 326.8 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.4042, allocations: 64.42 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.4045, allocations: 143 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.405, allocations: 219.6 kB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.405, allocations: 4 kB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006174/0.4056, allocations: 249.2 kB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4057, allocations: 11.94 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4057, allocations: 4 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4057, allocations: 4 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.4061, allocations: 68.2 kB / 1.239 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4061, allocations: 4 kB / 1.239 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4063, allocations: 27.88 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.4063, allocations: 8 kB / 1.239 GB, free: 11.09 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.0001246/0.4065, allocations: 138.2 kB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.4065, allocations: 19.89 kB / 1.239 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.4072, allocations: 232.5 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4072, allocations: 11.92 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4072, allocations: 0 / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4072, allocations: 0 / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4075, allocations: 241.5 kB / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4075, allocations: 0 / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4078, allocations: 39.97 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4079, allocations: 4 kB / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4079, allocations: 4 kB / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4079, allocations: 4 kB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4079, allocations: 7.922 kB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.4084, allocations: 295.3 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.4086, allocations: 104.9 kB / 1.24 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4086, allocations: 8 kB / 1.24 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4089, allocations: 19.98 kB / 1.24 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.409, allocations: 7.984 kB / 1.24 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.409, allocations: 19.98 kB / 1.24 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.079e-05/0.4091, allocations: 113.7 kB / 1.24 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4091, allocations: 0 / 1.24 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003626/0.4095, allocations: 63.94 kB / 1.24 GB, free: 9.684 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.0002154/0.4097, allocations: 139.1 kB / 1.24 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.4102, allocations: 192.2 kB / 1.241 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4102, allocations: 0 / 1.241 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.4105, allocations: 87.88 kB / 1.241 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.411, allocations: 60.08 kB / 1.241 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.4119, allocations: 410.9 kB / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4122, allocations: 0.7095 MB / 1.242 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.4124, allocations: 57.92 kB / 1.242 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.4125, allocations: 27.36 kB / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/0.4125, allocations: 0 / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.006938/0.4195, allocations: 3.43 MB / 1.245 GB, free: 4.605 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches