Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004497/0.004497, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.00113/0.00113, allocations: 199.3 kB / 16.68 MB, free: 5.977 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.197/1.197, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 65.61 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2073, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001902/0.2093, allocations: 1.258 MB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.2117, allocations: 2.497 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.2117, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.2117, allocations: 3.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.2118, allocations: 3.984 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.2122, allocations: 123.3 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.2123, allocations: 47.89 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 2.647e-05/0.2123, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.695e-05/0.2123, allocations: 23.92 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.2124, allocations: 7.984 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.2124, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.2127, allocations: 115.7 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.2127, allocations: 15.92 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2127, allocations: 19.98 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2129, allocations: 74.66 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2129, allocations: 0 / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2129, allocations: 4 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2129, allocations: 0 / 1.092 GB, free: 13.79 MB / 0.8575 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.0003304/0.2133, allocations: 364.3 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2133, allocations: 8.031 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.2133, allocations: 30.75 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.2135, allocations: 20.83 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.777e-05/0.2136, allocations: 164.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.2136, allocations: 4.312 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2136, allocations: 8.375 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2138, allocations: 76.19 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2138, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2138, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2138, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.711e-05/0.2138, allocations: 15.94 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.2143, allocations: 466.9 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2144, allocations: 67.66 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.2145, allocations: 26.78 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.2145, allocations: 7.938 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2145, allocations: 34.56 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2145, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000506/0.215, allocations: 310.5 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.2151, allocations: 110.8 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.2151, allocations: 93.86 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2152, allocations: 29.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.2152, allocations: 84.05 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2152, allocations: 35.48 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2153, allocations: 29.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.2153, allocations: 318.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.2154, allocations: 16 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.2154, allocations: 60.95 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.2155, allocations: 77.08 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2155, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000117/0.2156, allocations: 89.55 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2156, allocations: 8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2157, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2157, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.2157, allocations: 19.98 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2158, allocations: 3.938 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.2158, allocations: 12.12 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2158, allocations: 7.938 kB / 1.094 GB, free: 10.87 MB / 0.8575 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 5.877e-05/0.2159, allocations: 113.8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2159, allocations: 3.906 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.216, allocations: 11.56 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.216, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.216, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.216, allocations: 7.984 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.2163, allocations: 177.6 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2163, allocations: 7.984 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.2164, allocations: 15.94 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2164, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.2164, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2164, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2164, allocations: 4.062 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.2166, allocations: 326 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2167, allocations: 93.47 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2167, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2168, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.2169, allocations: 11.88 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2169, allocations: 11.98 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.2169, allocations: 79.27 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2169, allocations: 0 / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002992/0.2172, allocations: 12 kB / 1.095 GB, free: 9.906 MB / 0.8575 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.0003764/0.2176, allocations: 0.8742 MB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.2177, allocations: 47.97 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2177, allocations: 3.938 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.2178, allocations: 19.92 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2181, allocations: 13.06 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2194, allocations: 1.689 MB / 1.097 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2196, allocations: 0.6846 MB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.2196, allocations: 15.86 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.2197, allocations: 19.44 kB / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2197, allocations: 0 / 1.098 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.127/1.347, allocations: 1.716 MB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/9.359, allocations: 9.688 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[3]=0.002000 Error: Could not read variable der(cpCod) in file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpSym),der(cvSym),der(hLiqCod),der(hLiqSym),hLiqCod,hLiqSym,time