Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.035 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8994/0.9015, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001987/0.9034, allocations: 1.287 MB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.9059, allocations: 2.524 MB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.9059, allocations: 1.094 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.9059, allocations: 0 / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.906, allocations: 7.234 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.9064, allocations: 142.7 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.9065, allocations: 31.14 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.9065, allocations: 6.297 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.9066, allocations: 24.3 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.9066, allocations: 19.16 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.9066, allocations: 1.625 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.9069, allocations: 118.7 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.9069, allocations: 8.438 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.907, allocations: 21.2 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.9072, allocations: 81.98 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9072, allocations: 1.219 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9072, allocations: 0 / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.9072, allocations: 0 / 1.276 GB, free: 4.816 MB / 0.9981 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.0003193/0.9075, allocations: 355.8 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.9075, allocations: 9.531 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.9076, allocations: 37.62 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.9077, allocations: 18.02 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.332e-05/0.9078, allocations: 162 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-06/0.9078, allocations: 1.875 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.9078, allocations: 7.688 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.908, allocations: 79.59 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.908, allocations: 0 / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.908, allocations: 5.125 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.908, allocations: 1.781 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.908, allocations: 8.312 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.9085, allocations: 469.8 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.9086, allocations: 69.47 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.9086, allocations: 24.8 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.9086, allocations: 4.719 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.9086, allocations: 33.06 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.9086, allocations: 7.875 kB / 1.277 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005298/0.9092, allocations: 309.6 kB / 1.277 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.9092, allocations: 106.4 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.499e-05/0.9092, allocations: 104.2 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.9092, allocations: 27.3 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.9093, allocations: 85.03 kB / 1.277 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.9093, allocations: 30 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.9093, allocations: 26.92 kB / 1.278 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.9093, allocations: 318.5 kB / 1.278 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.9094, allocations: 13.09 kB / 1.278 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.9094, allocations: 61.12 kB / 1.278 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.488e-05/0.9095, allocations: 76.5 kB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9095, allocations: 5.031 kB / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001242/0.9096, allocations: 93.91 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9096, allocations: 8.562 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.9096, allocations: 2.094 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9096, allocations: 2.766 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.9097, allocations: 23.03 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.9097, allocations: 5.125 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.9098, allocations: 2.812 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.9098, allocations: 8.016 kB / 1.278 GB, free: 2.277 MB / 0.9981 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.099e-05/0.9098, allocations: 123.9 kB / 1.278 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.9099, allocations: 6.359 kB / 1.278 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.9099, allocations: 10.14 kB / 1.278 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9099, allocations: 1.969 kB / 1.278 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.9099, allocations: 4.969 kB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9099, allocations: 0.9062 kB / 1.278 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.9102, allocations: 179.6 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9102, allocations: 0.875 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.9103, allocations: 18.77 kB / 1.278 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9103, allocations: 5.906 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.9103, allocations: 2.016 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9103, allocations: 1.094 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.9103, allocations: 1 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.9105, allocations: 335.6 kB / 1.279 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.9105, allocations: 95 kB / 1.279 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.9105, allocations: 0.9062 kB / 1.279 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.9107, allocations: 4.875 kB / 1.279 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.9107, allocations: 12.31 kB / 1.279 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.9107, allocations: 3.594 kB / 1.279 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.9107, allocations: 79.2 kB / 1.279 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9107, allocations: 0 / 1.279 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003268/0.9111, allocations: 14.41 kB / 1.279 GB, free: 1.43 MB / 0.9981 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.0003084/0.9114, allocations: 0.8572 MB / 1.28 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.9115, allocations: 47.62 kB / 1.28 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9115, allocations: 4.062 kB / 1.28 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.9115, allocations: 11.47 kB / 1.28 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.912, allocations: 13.45 kB / 1.28 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.9135, allocations: 1.704 MB / 1.282 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.9138, allocations: 0.6874 MB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.9139, allocations: 3.406 kB / 1.282 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.9139, allocations: 17.03 kB / 1.282 GB, free: 14.24 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.9139, allocations: 4 kB / 1.282 GB, free: 14.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.9381, allocations: 1.676 MB / 1.284 GB, free: 13.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.857, allocations: 6.781 kB / 1.284 GB, free: 13.86 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[2]=0.002000 Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 14.707123403000878]