Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001332/0.001332, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001671/0.001671, allocations: 220.5 kB / 23.04 MB, free: 5.07 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 0.49 GB / 0.7959 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 75.86 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3703, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002466/0.3727, allocations: 1.291 MB / 1.328 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003519/0.3763, allocations: 2.585 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.3763, allocations: 8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.3763, allocations: 3.938 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.3764, allocations: 3.984 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.3769, allocations: 131.4 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.377, allocations: 35.86 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.377, allocations: 3.984 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.3771, allocations: 23.98 kB / 1.331 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.3771, allocations: 15.92 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3771, allocations: 4 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.3774, allocations: 123.7 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3775, allocations: 3.984 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.3775, allocations: 19.92 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3777, allocations: 87.94 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3777, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3777, allocations: 4 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3777, allocations: 0 / 1.331 GB, free: 13.65 MB / 1.029 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.000433/0.3781, allocations: 286.2 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3782, allocations: 12.03 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.914e-05/0.3782, allocations: 4.188 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.3782, allocations: 30.75 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.3784, allocations: 16.92 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3785, allocations: 106.5 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3786, allocations: 4.375 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3786, allocations: 16.06 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3787, allocations: 76.25 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3787, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3787, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3787, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.3788, allocations: 19.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.3794, allocations: 412.3 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3796, allocations: 67.66 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.3796, allocations: 22.78 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3796, allocations: 8 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3796, allocations: 38.5 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3796, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006168/0.3803, allocations: 225.4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.3803, allocations: 115.1 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.3804, allocations: 97.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3804, allocations: 29.7 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.3805, allocations: 88.08 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.3805, allocations: 31.73 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.3806, allocations: 29.7 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3807, allocations: 318.8 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.3807, allocations: 8 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/0.3808, allocations: 57.08 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.3809, allocations: 81.02 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3809, allocations: 4 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000151/0.3811, allocations: 89.55 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3811, allocations: 10.19 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3811, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3811, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.3812, allocations: 19.98 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3812, allocations: 3.938 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3812, allocations: 15.89 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.3812, allocations: 12.06 kB / 1.333 GB, free: 11.03 MB / 1.029 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 9.265e-05/0.3813, allocations: 113.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3814, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.3814, allocations: 11.75 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3814, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3814, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.3815, allocations: 11.92 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.3818, allocations: 136.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3818, allocations: 3.984 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.3819, allocations: 27.94 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3819, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3819, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3819, allocations: 8.062 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3819, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3822, allocations: 326 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.3822, allocations: 16.03 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3822, allocations: 4 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3824, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.3824, allocations: 15.86 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3825, allocations: 8.375 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.3825, allocations: 79.27 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3825, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003183/0.3828, allocations: 12 kB / 1.334 GB, free: 10.2 MB / 1.029 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.0006328/0.3834, allocations: 0.8722 MB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3836, allocations: 40.16 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3836, allocations: 8.062 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.3836, allocations: 15.92 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3841, allocations: 15.88 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3859, allocations: 1.681 MB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3863, allocations: 0.6924 MB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.764e-05/0.3863, allocations: 4 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.3864, allocations: 19.38 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3864, allocations: 7.938 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.41, allocations: 1.879 MB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 4.062 kB / 1.339 GB, free: 4.977 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.778410528961103]