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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 174 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.908/2.908, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.444e-05, allocations: 2.281 kB / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005827/0.005851, allocations: 3.894 MB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.009081, allocations: 2.227 MB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.009182, allocations: 3.938 kB / 1.006 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.009484, allocations: 43.73 kB / 1.006 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.009832, allocations: 107.2 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.01138, allocations: 0.5591 MB / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.01178, allocations: 267.7 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.01183, allocations: 9.812 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.01219, allocations: 167.6 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.0124, allocations: 75.83 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.01243, allocations: 11.94 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.01348, allocations: 403 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.01358, allocations: 43.83 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.01371, allocations: 67.88 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009426/0.01465, allocations: 438.7 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01466, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01466, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.01466, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 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.001135/0.0158, allocations: 449.4 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.01585, allocations: 8.031 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.0189, allocations: 188.6 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.01934, allocations: 157.6 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.01938, allocations: 12.7 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.01944, allocations: 12.38 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.0206, allocations: 0.5023 MB / 1.01 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.02062, allocations: 4.125 kB / 1.01 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.02067, allocations: 12.12 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.0207, allocations: 8 kB / 1.01 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.02176, allocations: 255.6 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.02386, allocations: 1.177 MB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009841/0.02485, allocations: 180.9 kB / 1.011 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.02517, allocations: 72.81 kB / 1.011 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.02521, allocations: 4 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.02525, allocations: 38.5 kB / 1.011 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.02525, allocations: 0 / 1.011 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001162/0.02641, allocations: 247.5 kB / 1.011 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.02647, allocations: 51.41 kB / 1.012 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.02665, allocations: 151.6 kB / 1.012 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.0267, allocations: 37.64 kB / 1.012 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.02682, allocations: 124.2 kB / 1.012 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.02689, allocations: 63.44 kB / 1.012 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.02703, allocations: 57.88 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.02722, allocations: 322.8 kB / 1.012 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.02752, allocations: 60.42 kB / 1.012 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.02795, allocations: 142.3 kB / 1.012 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007629/0.02871, allocations: 217.3 kB / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.02872, allocations: 0 / 1.013 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009561/0.02967, allocations: 255.1 kB / 1.013 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.0297, allocations: 12 kB / 1.013 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.02971, allocations: 4 kB / 1.013 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.02973, allocations: 0 / 1.013 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.03025, allocations: 75.88 kB / 1.013 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.03027, allocations: 4 kB / 1.013 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.03057, allocations: 31.84 kB / 1.013 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.03061, allocations: 11.98 kB / 1.013 GB, free: 9.684 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.0001743/0.03079, allocations: 130.3 kB / 1.013 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.03088, allocations: 15.89 kB / 1.013 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.03186, allocations: 226.6 kB / 1.013 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.03187, allocations: 0 / 1.013 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.03187, allocations: 0 / 1.013 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.03188, allocations: 0 / 1.013 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.03225, allocations: 177.2 kB / 1.014 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.03226, allocations: 3.984 kB / 1.014 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.03272, allocations: 51.91 kB / 1.014 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.03273, allocations: 4 kB / 1.014 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.03276, allocations: 15.88 kB / 1.014 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.03277, allocations: 7.922 kB / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03277, allocations: 0 / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.03358, allocations: 293 kB / 1.014 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.0337, allocations: 27.86 kB / 1.014 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.03374, allocations: 7.938 kB / 1.014 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.0341, allocations: 19.98 kB / 1.014 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.03415, allocations: 15.97 kB / 1.014 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.03418, allocations: 4 kB / 1.014 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001238/0.03431, allocations: 108.8 kB / 1.014 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03431, allocations: 0 / 1.014 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005773/0.03488, allocations: 67.89 kB / 1.014 GB, free: 8.477 MB / 0.9669 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.0003436/0.03523, allocations: 131.2 kB / 1.014 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.03602, allocations: 172.3 kB / 1.014 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.03602, allocations: 0 / 1.014 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.03639, allocations: 90.41 kB / 1.015 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.037, allocations: 43.95 kB / 1.015 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.03839, allocations: 369.1 kB / 1.015 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.03853, allocations: 106.8 kB / 1.015 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003801/0.03891, allocations: 53.44 kB / 1.015 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.03905, allocations: 24.48 kB / 1.015 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.03905, allocations: 0 / 1.015 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of Templates: time 0.01048/0.04953, allocations: 3.018 MB / 1.018 GB, free: 4.531 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.412674129009247]