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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001033/0.001034, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001269/0.001269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7861, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004858/0.791, allocations: 3.598 MB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.7937, allocations: 2.249 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.7938, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.794, allocations: 35.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.7943, allocations: 87.47 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.7955, allocations: 429 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.7959, allocations: 299.7 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.796, allocations: 9.547 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.7962, allocations: 103.6 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.7964, allocations: 99.66 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.7964, allocations: 4 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.7971, allocations: 355.3 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.7972, allocations: 43.88 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.7973, allocations: 53.64 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.7976, allocations: 249.5 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7977, allocations: 3.938 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7977, allocations: 0 / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.7977, allocations: 0 / 1.03 GB, free: 8.469 MB / 0.7794 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.0007343/0.7984, allocations: 480.8 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7985, allocations: 16.56 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.8003, allocations: 183.5 kB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.8005, allocations: 210.8 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.8006, allocations: 20.27 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.8006, allocations: 19.98 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.8012, allocations: 300.2 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8013, allocations: 0 / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.8013, allocations: 8 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.8013, allocations: 8 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.802, allocations: 259.6 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.8038, allocations: 1.385 MB / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.8044, allocations: 194.4 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.8047, allocations: 84.75 kB / 1.033 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.8047, allocations: 4 kB / 1.033 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.8048, allocations: 34.56 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/0.8048, allocations: 0 / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007349/0.8055, allocations: 238.9 kB / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.8056, allocations: 59.41 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.8057, allocations: 160 kB / 1.033 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.8058, allocations: 29.7 kB / 1.033 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8059, allocations: 132 kB / 1.033 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.8059, allocations: 59.11 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.806, allocations: 4 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8061, allocations: 330.8 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.8063, allocations: 64.36 kB / 1.034 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.8066, allocations: 148.1 kB / 1.034 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.8068, allocations: 69.39 kB / 1.034 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.8068, allocations: 4 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005338/0.8073, allocations: 249.1 kB / 1.034 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.8073, allocations: 6.031 kB / 1.034 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8074, allocations: 4 kB / 1.034 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8074, allocations: 4.312 kB / 1.034 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.8077, allocations: 71.89 kB / 1.034 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8077, allocations: 7.984 kB / 1.034 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.808, allocations: 31.69 kB / 1.034 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.808, allocations: 11.98 kB / 1.034 GB, free: 3.309 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.8081, allocations: 129.7 kB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.8082, allocations: 15.81 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.8088, allocations: 234.6 kB / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8088, allocations: 0 / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8088, allocations: 0 / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8088, allocations: 0 / 1.035 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.8091, allocations: 253.3 kB / 1.035 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8091, allocations: 0 / 1.035 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.8094, allocations: 47.91 kB / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.8094, allocations: 0 / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.8094, allocations: 15.98 kB / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8094, allocations: 0 / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8094, allocations: 0 / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.8099, allocations: 292.7 kB / 1.035 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/0.81, allocations: 100.9 kB / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.8101, allocations: 11.98 kB / 1.036 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.8103, allocations: 27.97 kB / 1.036 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.8104, allocations: 7.984 kB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.8104, allocations: 16 kB / 1.036 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.8105, allocations: 117.6 kB / 1.036 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8105, allocations: 0 / 1.036 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003693/0.8109, allocations: 63.91 kB / 1.036 GB, free: 1.902 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.8111, allocations: 151.3 kB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.8116, allocations: 179.7 kB / 1.036 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8116, allocations: 4 kB / 1.036 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.8118, allocations: 81.95 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.8124, allocations: 70.05 kB / 1.036 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.8134, allocations: 0.4894 MB / 1.037 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.8137, allocations: 0.7137 MB / 1.037 GB, free: 168 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003576/0.814, allocations: 53.94 kB / 1.037 GB, free: 116 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.8141, allocations: 23.42 kB / 1.037 GB, free: 92 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8141, allocations: 0 / 1.037 GB, free: 92 kB / 0.7794 GB Notification: Performance of Templates: time 0.007028/0.8212, allocations: 3.117 MB / 1.041 GB, free: 13.02 MB / 0.795 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