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.001652/0.001652, allocations: 112 kB / 16.42 MB, free: 6.457 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.001951/0.001951, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.609/2.609, allocations: 472.7 MB / 0.746 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.89 kB / 1.07 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6882, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005471/0.6937, allocations: 4.061 MB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.6967, allocations: 2.426 MB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.6968, allocations: 0 / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.6971, allocations: 51.61 kB / 1.233 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.6975, allocations: 107.3 kB / 1.233 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.699, allocations: 0.5205 MB / 1.233 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.6994, allocations: 267.8 kB / 1.234 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.6994, allocations: 17.48 kB / 1.234 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.6997, allocations: 111.7 kB / 1.234 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.6998, allocations: 99.59 kB / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.6999, allocations: 8 kB / 1.234 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000928/0.7008, allocations: 455.3 kB / 1.234 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.7009, allocations: 39.83 kB / 1.234 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.701, allocations: 91.58 kB / 1.234 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.7018, allocations: 411.3 kB / 1.235 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7018, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7018, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7018, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.9512 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.0007744/0.7026, allocations: 0.5064 MB / 1.235 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7027, allocations: 8.031 kB / 1.235 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.7047, allocations: 180.6 kB / 1.236 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.705, allocations: 216.1 kB / 1.236 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.7051, allocations: 12.7 kB / 1.236 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.7051, allocations: 12.38 kB / 1.236 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.7057, allocations: 312.3 kB / 1.236 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7058, allocations: 4 kB / 1.236 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.7058, allocations: 8 kB / 1.236 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.7058, allocations: 4 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.7065, allocations: 267.6 kB / 1.236 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.7082, allocations: 1.393 MB / 1.238 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.7088, allocations: 189.8 kB / 1.238 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.7091, allocations: 84.81 kB / 1.238 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.7091, allocations: 0 / 1.238 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7092, allocations: 38.5 kB / 1.238 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.7092, allocations: 0 / 1.238 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008061/0.71, allocations: 247.1 kB / 1.238 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.71, allocations: 55.41 kB / 1.238 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.7102, allocations: 151.7 kB / 1.238 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.7102, allocations: 37.64 kB / 1.238 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.7103, allocations: 132.2 kB / 1.239 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.7103, allocations: 59.47 kB / 1.239 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.7104, allocations: 57.88 kB / 1.239 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7105, allocations: 322.8 kB / 1.239 GB, free: 240 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.7108, allocations: 64.42 kB / 1.239 GB, free: 176 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.711, allocations: 146.2 kB / 1.239 GB, free: 16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.7115, allocations: 223.1 kB / 1.239 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7115, allocations: 3.938 kB / 1.239 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005956/0.7121, allocations: 259 kB / 1.24 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7122, allocations: 4 kB / 1.24 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7122, allocations: 7.984 kB / 1.24 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7122, allocations: 4 kB / 1.24 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.7126, allocations: 64.2 kB / 1.24 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.7126, allocations: 8 kB / 1.24 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.7128, allocations: 31.81 kB / 1.24 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7129, allocations: 11.98 kB / 1.24 GB, free: 15.36 MB / 0.9669 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.0001128/0.713, allocations: 130.2 kB / 1.24 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.7131, allocations: 15.91 kB / 1.24 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.7137, allocations: 234.5 kB / 1.24 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7137, allocations: 0 / 1.24 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.7137, allocations: 8 kB / 1.24 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.7138, allocations: 105 kB / 1.24 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.7139, allocations: 0 / 1.24 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.7142, allocations: 15.98 kB / 1.24 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.7142, allocations: 15.92 kB / 1.24 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007367/0.715, allocations: 294.8 kB / 1.241 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005646/0.7155, allocations: 372.2 kB / 1.241 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002194/0.7158, allocations: 79.94 kB / 1.241 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.305e-05/0.7159, allocations: 121.5 kB / 1.241 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of Backend: time 3.91e-07/0.7159, allocations: 0 / 1.241 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.7169, allocations: 387.6 kB / 1.241 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0007725/0.7177, allocations: 0.805 MB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of Templates: time 0.01018/0.7279, allocations: 6.206 MB / 1.248 GB, free: 6.566 MB / 0.9669 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/jenkins1/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