Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007165/0.007165, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001084/0.001084, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 67.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3107, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005004/0.3158, allocations: 4.057 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3183, allocations: 2.434 MB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.3184, allocations: 4 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3188, allocations: 47.67 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.3192, allocations: 99.34 kB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3206, allocations: 0.5177 MB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.3209, allocations: 263.8 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.321, allocations: 13.5 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3212, allocations: 115.5 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3214, allocations: 95.59 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3214, allocations: 12 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.3222, allocations: 451.3 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.3223, allocations: 43.83 kB / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3224, allocations: 87.64 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.3231, allocations: 418.7 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3231, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3231, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3231, allocations: 0 / 1.175 GB, free: 14.08 MB / 0.9356 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.0007579/0.3239, allocations: 0.5025 MB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3239, allocations: 8.031 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.3258, allocations: 176.6 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3261, allocations: 216.1 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3262, allocations: 12.7 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3262, allocations: 12.38 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.3268, allocations: 304.4 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3269, allocations: 3.938 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3269, allocations: 12 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3269, allocations: 4 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.3276, allocations: 260.1 kB / 1.177 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3292, allocations: 1.389 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.3299, allocations: 194.8 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3301, allocations: 76.81 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3302, allocations: 7.906 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3302, allocations: 34.56 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3302, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008184/0.331, allocations: 249.4 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3311, allocations: 55.41 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3313, allocations: 156.3 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.3313, allocations: 33.7 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3314, allocations: 132.1 kB / 1.179 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3314, allocations: 67.47 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3316, allocations: 61.88 kB / 1.179 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3317, allocations: 318.8 kB / 1.179 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.3319, allocations: 64.42 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.3322, allocations: 147.6 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.3327, allocations: 222.7 kB / 1.18 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3327, allocations: 4 kB / 1.18 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005845/0.3333, allocations: 243.3 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3333, allocations: 12.25 kB / 1.18 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3333, allocations: 11.94 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3334, allocations: 4 kB / 1.18 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.3337, allocations: 59.95 kB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3337, allocations: 7.938 kB / 1.18 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3339, allocations: 35.77 kB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.334, allocations: 11.98 kB / 1.18 GB, free: 8.656 MB / 0.9356 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.0001163/0.3341, allocations: 135.9 kB / 1.18 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.3342, allocations: 19.91 kB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.3348, allocations: 228.9 kB / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.3348, allocations: 4 kB / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3348, allocations: 0 / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3348, allocations: 0 / 1.18 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3351, allocations: 245.4 kB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3351, allocations: 0 / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.3354, allocations: 43.91 kB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3354, allocations: 8 kB / 1.181 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3354, allocations: 7.984 kB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3355, allocations: 0 / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3355, allocations: 0 / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.336, allocations: 295.3 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3361, allocations: 108.9 kB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3362, allocations: 8 kB / 1.181 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.3364, allocations: 19.92 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.3365, allocations: 7.984 kB / 1.181 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3365, allocations: 15.98 kB / 1.181 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.617e-05/0.3366, allocations: 112.7 kB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3366, allocations: 0 / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003455/0.337, allocations: 63.94 kB / 1.181 GB, free: 7.266 MB / 0.9356 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.0002127/0.3372, allocations: 135.2 kB / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.3377, allocations: 183.7 kB / 1.182 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3377, allocations: 0 / 1.182 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.338, allocations: 94.39 kB / 1.182 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.3384, allocations: 72.44 kB / 1.182 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.3394, allocations: 408 kB / 1.182 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3397, allocations: 0.7173 MB / 1.183 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.3399, allocations: 49.94 kB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.34, allocations: 23.42 kB / 1.183 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.34, allocations: 0 / 1.183 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of Templates: time 0.006839/0.3468, allocations: 3.405 MB / 1.186 GB, free: 2.188 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches