Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.002543/0.002543, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003654/0.003654, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.418/3.418, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.5469 kB / 0.8774 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.196e-05, allocations: 2.969 kB / 0.8774 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002569/0.002601, allocations: 1.289 MB / 0.8787 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003934/0.006535, allocations: 2.597 MB / 0.8812 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.00656, allocations: 1.062 kB / 0.8812 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.006576, allocations: 0 / 0.8812 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.006627, allocations: 9.031 kB / 0.8812 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.007224, allocations: 132.5 kB / 0.8813 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.007316, allocations: 43.84 kB / 0.8814 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.007349, allocations: 6.906 kB / 0.8814 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.007431, allocations: 35.83 kB / 0.8814 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.007493, allocations: 8 kB / 0.8814 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.007508, allocations: 0 / 0.8814 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.007793, allocations: 103.7 kB / 0.8815 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.007812, allocations: 7.969 kB / 0.8815 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.007847, allocations: 12 kB / 0.8816 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.008079, allocations: 88.38 kB / 0.8816 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.008083, allocations: 0 / 0.8816 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008084, allocations: 1.656 kB / 0.8816 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.00809, allocations: 0 / 0.8816 GB, free: 1.242 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005387/0.008629, allocations: 384.1 kB / 0.882 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.008668, allocations: 8.031 kB / 0.882 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.008913, allocations: 25.34 kB / 0.882 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.00904, allocations: 118.2 kB / 0.8822 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.009054, allocations: 384 / 0.8822 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.00909, allocations: 16.25 kB / 0.8822 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.009337, allocations: 158.4 kB / 0.8823 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.009346, allocations: 0.7812 kB / 0.8823 GB, free: 464 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.009362, allocations: 4.125 kB / 0.8823 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.009366, allocations: 1.344 kB / 0.8823 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.00942, allocations: 15.94 kB / 0.8823 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.01016, allocations: 0.5172 MB / 0.8828 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.01036, allocations: 98.8 kB / 0.8829 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.01041, allocations: 31.19 kB / 0.883 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.01043, allocations: 11.88 kB / 0.883 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.01046, allocations: 38.98 kB / 0.883 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.01046, allocations: 0 / 0.883 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0006772/0.01114, allocations: 241.8 kB / 0.8832 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.01123, allocations: 106.8 kB / 0.8834 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.01136, allocations: 157.9 kB / 0.8835 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01139, allocations: 25.7 kB / 0.8835 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.01148, allocations: 142.8 kB / 0.8837 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.01151, allocations: 23.81 kB / 0.8837 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.01156, allocations: 31.36 kB / 0.8837 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.01183, allocations: 0.4884 MB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.01187, allocations: 15.98 kB / 0.8842 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.22e-05/0.01195, allocations: 66.06 kB / 0.8843 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.01208, allocations: 94.69 kB / 0.8844 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01208, allocations: 4 kB / 0.8844 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001715/0.01225, allocations: 109.5 kB / 0.8845 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.01227, allocations: 8 kB / 0.8845 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01228, allocations: 0 / 0.8845 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01229, allocations: 4 kB / 0.8845 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.01237, allocations: 28.05 kB / 0.8845 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01238, allocations: 0 / 0.8845 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.01242, allocations: 7.938 kB / 0.8845 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01243, allocations: 8 kB / 0.8845 GB, free: 13.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001205/0.01255, allocations: 160.6 kB / 0.8847 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.01261, allocations: 7.938 kB / 0.8847 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.01265, allocations: 7.812 kB / 0.8847 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.01265, allocations: 7.984 kB / 0.8847 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01266, allocations: 0 / 0.8847 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01266, allocations: 3.938 kB / 0.8847 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.01298, allocations: 140.5 kB / 0.8848 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01298, allocations: 4 kB / 0.8848 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.01308, allocations: 15.94 kB / 0.8849 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.01308, allocations: 3.984 kB / 0.8849 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.0131, allocations: 4 kB / 0.8849 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.0131, allocations: 0 / 0.8849 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.0131, allocations: 0 / 0.8849 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.01348, allocations: 470.2 kB / 0.8853 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.01351, allocations: 11.92 kB / 0.8853 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.01352, allocations: 0 / 0.8853 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.01367, allocations: 4 kB / 0.8853 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.01369, allocations: 11.98 kB / 0.8853 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01371, allocations: 4 kB / 0.8853 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.01378, allocations: 123.2 kB / 0.8855 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01378, allocations: 0 / 0.8855 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003/0.01408, allocations: 16 kB / 0.8855 GB, free: 12.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003553/0.01443, allocations: 103.2 kB / 0.8856 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.01458, allocations: 55.73 kB / 0.8856 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01458, allocations: 4 kB / 0.8856 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.01462, allocations: 31.73 kB / 0.8857 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.01503, allocations: 12.06 kB / 0.8857 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.01566, allocations: 289.8 kB / 0.8859 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.688e-05/0.01576, allocations: 75.19 kB / 0.886 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.0158, allocations: 8 kB / 0.886 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.01584, allocations: 12.5 kB / 0.886 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.01584, allocations: 0 / 0.886 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.003713/0.01955, allocations: 0.6786 MB / 0.8867 GB, free: 11.6 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.471204984001815]