Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_10_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.00144/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00164/0.00164, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5166, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002244/0.5188, allocations: 1.334 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.5216, allocations: 2.476 MB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.5216, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5216, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.5217, allocations: 7.969 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.5222, allocations: 115.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.979e-05/0.5223, allocations: 39.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.5223, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.5223, allocations: 15.98 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.5224, allocations: 23.91 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.5224, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.5227, allocations: 119.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.5227, allocations: 7.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.5227, allocations: 15.94 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.5229, allocations: 78.09 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5229, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5229, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.5229, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 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.0003427/0.5233, allocations: 363.4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5233, allocations: 8.031 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.5234, allocations: 34.75 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.5236, allocations: 16.92 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.5236, allocations: 164.3 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5237, allocations: 4.375 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.5237, allocations: 12.28 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.5238, allocations: 72.19 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.5238, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.5238, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5239, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.5239, allocations: 15.92 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.5244, allocations: 470.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.5245, allocations: 71.75 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.5246, allocations: 34.64 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.5246, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.5246, allocations: 38.56 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5246, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005249/0.5252, allocations: 298.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.5252, allocations: 110.8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.5253, allocations: 102.3 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5253, allocations: 25.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.5253, allocations: 88.05 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.5254, allocations: 23.66 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.5254, allocations: 25.7 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.5255, allocations: 318.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.5255, allocations: 19.98 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.5256, allocations: 53.08 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.852e-05/0.5257, allocations: 77.12 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5257, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001254/0.5258, allocations: 97.45 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5258, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5258, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.5258, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.5259, allocations: 27.92 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5259, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.526, allocations: 8.125 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.526, allocations: 11.94 kB / 1.024 GB, free: 11.51 MB / 0.7794 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 6.518e-05/0.5261, allocations: 109.8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.5261, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.5262, allocations: 15.55 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5262, allocations: 3.938 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5262, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5262, allocations: 64 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.5265, allocations: 193.4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5265, allocations: 4 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.5266, allocations: 15.94 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5266, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5266, allocations: 3.984 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5266, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5266, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.5268, allocations: 330 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.5269, allocations: 89.05 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.5269, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.5271, allocations: 8 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.5271, allocations: 15.86 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.5271, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.5272, allocations: 79.28 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5272, allocations: 0 / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003031/0.5275, allocations: 16 kB / 1.024 GB, free: 10.54 MB / 0.7794 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.0003958/0.5279, allocations: 0.8637 MB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.528, allocations: 52.14 kB / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.528, allocations: 0 / 1.025 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.528, allocations: 19.94 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.5285, allocations: 14.06 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5298, allocations: 1.712 MB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.53, allocations: 0.6846 MB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.302e-05/0.5301, allocations: 7.984 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.5301, allocations: 15.44 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5301, allocations: 0 / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.36/0.8901, allocations: 1.605 MB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.8904, allocations: 240.5 kB / 1.029 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.475, allocations: 0 / 1.029 GB, free: 5.355 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_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