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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001337/0.001337, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001356/0.001356, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.12 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2945, allocations: 159.2 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005998/0.3006, allocations: 4.046 MB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00301/0.3036, allocations: 2.426 MB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.3037, allocations: 4 kB / 1.071 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.304, allocations: 47.61 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.3043, allocations: 99.34 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3055, allocations: 0.5242 MB / 1.072 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.3058, allocations: 267.8 kB / 1.072 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.3058, allocations: 9.562 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.3061, allocations: 115.5 kB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3062, allocations: 95.64 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3062, allocations: 8 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.3071, allocations: 459.2 kB / 1.073 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.3072, allocations: 35.89 kB / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3073, allocations: 79.67 kB / 1.073 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.308, allocations: 411.2 kB / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.308, allocations: 0 / 1.073 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.308, allocations: 3.938 kB / 1.073 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.308, allocations: 0 / 1.073 GB, free: 6.152 MB / 0.8419 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.0007956/0.3088, allocations: 0.5031 MB / 1.074 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3089, allocations: 8.031 kB / 1.074 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.3109, allocations: 180.6 kB / 1.074 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.3112, allocations: 208.1 kB / 1.074 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3112, allocations: 12.7 kB / 1.074 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3112, allocations: 16.38 kB / 1.074 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.3119, allocations: 320.3 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3119, allocations: 0 / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.312, allocations: 8 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.312, allocations: 4 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.3128, allocations: 259.6 kB / 1.074 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.3146, allocations: 1.389 MB / 1.076 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.3154, allocations: 196.8 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.3156, allocations: 80.72 kB / 1.076 GB, free: 2.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3157, allocations: 3.984 kB / 1.076 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3157, allocations: 46.5 kB / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.3157, allocations: 0 / 1.076 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008455/0.3166, allocations: 239.6 kB / 1.076 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3167, allocations: 55.41 kB / 1.076 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3168, allocations: 165 kB / 1.077 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.3169, allocations: 29.7 kB / 1.077 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.317, allocations: 128 kB / 1.077 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.3171, allocations: 63.09 kB / 1.077 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3172, allocations: 49.94 kB / 1.077 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3173, allocations: 326.8 kB / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3176, allocations: 60.42 kB / 1.077 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.3179, allocations: 142.3 kB / 1.077 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.3184, allocations: 221.2 kB / 1.078 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3184, allocations: 0 / 1.078 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006349/0.3191, allocations: 259.9 kB / 1.078 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3191, allocations: 4 kB / 1.078 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3191, allocations: 4 kB / 1.078 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3191, allocations: 4 kB / 1.078 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3195, allocations: 59.89 kB / 1.078 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3195, allocations: 4 kB / 1.078 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.3198, allocations: 36.05 kB / 1.078 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3198, allocations: 15.94 kB / 1.078 GB, free: 0.7383 MB / 0.8419 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.0001404/0.3199, allocations: 133.7 kB / 1.078 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.32, allocations: 11.91 kB / 1.078 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006781/0.3207, allocations: 232.3 kB / 1.078 GB, free: 360 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.3207, allocations: 4 kB / 1.078 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3207, allocations: 3.984 kB / 1.078 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3207, allocations: 0 / 1.078 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3211, allocations: 265.3 kB / 1.079 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3211, allocations: 0 / 1.079 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4597/0.7807, allocations: 44.08 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.7808, allocations: 2 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.7808, allocations: 1.25 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.7808, allocations: 1.25 kB / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.7808, allocations: 0 / 1.079 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.7815, allocations: 297.4 kB / 1.079 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.7816, allocations: 102.3 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.7817, allocations: 2.75 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.782, allocations: 19.11 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.782, allocations: 16.02 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.7821, allocations: 8.031 kB / 1.079 GB, free: 22.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.7821, allocations: 114.1 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7821, allocations: 0.8125 kB / 1.079 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003831/0.7825, allocations: 67.09 kB / 1.079 GB, free: 21.97 MB / 0.8419 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.0002121/0.7828, allocations: 138.2 kB / 1.079 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.7834, allocations: 187.7 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7834, allocations: 0.7188 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.7836, allocations: 88.69 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.7842, allocations: 70.22 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009316/0.7851, allocations: 440.3 kB / 1.08 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.7853, allocations: 0.7145 MB / 1.081 GB, free: 20.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.7854, allocations: 31.47 kB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.7854, allocations: 3.844 kB / 1.081 GB, free: 20.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.005686/0.7911, allocations: 2.926 MB / 1.084 GB, free: 20.8 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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) 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) Reference file matches