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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.145/1.145, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.192/2.192, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.89 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.456, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001779/0.4578, allocations: 1.258 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.4601, allocations: 2.495 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.4601, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.4601, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.4602, allocations: 7.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.4606, allocations: 127.4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.155e-05/0.4606, allocations: 35.84 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.763e-05/0.4606, allocations: 7.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.4607, allocations: 19.88 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.4607, allocations: 23.91 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.4608, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.461, allocations: 115.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.461, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.4611, allocations: 19.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.4612, allocations: 78.09 kB / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4612, allocations: 0 / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4612, allocations: 0 / 1.022 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4612, allocations: 0 / 1.022 GB, free: 14.28 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.0003047/0.4615, allocations: 363.4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.4616, allocations: 8.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.4616, allocations: 38.73 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.4618, allocations: 12.94 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.655e-05/0.4619, allocations: 168.3 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.4619, allocations: 4.375 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.4619, allocations: 12.28 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.462, allocations: 68.19 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.462, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.462, allocations: 7.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.462, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.4621, allocations: 11.94 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.4625, allocations: 466.9 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.4626, allocations: 87.64 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.4627, allocations: 22.58 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.4627, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4627, allocations: 38.64 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.4627, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004762/0.4632, allocations: 302.1 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4633, allocations: 102.8 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/0.4633, allocations: 101.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.4633, allocations: 29.95 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.4634, allocations: 88.05 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.4634, allocations: 23.64 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.4634, allocations: 29.66 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.4635, allocations: 322.8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.4635, allocations: 12 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.4636, allocations: 61.08 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.4636, allocations: 69.08 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4636, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001121/0.4638, allocations: 97.48 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.4638, allocations: 8 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.4638, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4638, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.4639, allocations: 23.94 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4639, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.4639, allocations: 4.062 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4639, allocations: 15.92 kB / 1.024 GB, free: 11.35 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 5.429e-05/0.464, allocations: 113.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.4641, allocations: 8 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.4641, allocations: 8.172 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4641, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4641, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4641, allocations: 3.938 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.4644, allocations: 189.4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4644, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.4645, allocations: 19.98 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4645, allocations: 3.984 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.4645, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4645, allocations: 8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4645, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.4647, allocations: 330 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.4647, allocations: 81.02 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4648, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.4649, allocations: 4.031 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.4649, allocations: 11.94 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.465, allocations: 8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.465, allocations: 79.27 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.465, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002801/0.4653, allocations: 16 kB / 1.025 GB, free: 10.38 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.0003467/0.4656, allocations: 0.8595 MB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.4657, allocations: 43.92 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4657, allocations: 0 / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.4658, allocations: 20.19 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4661, allocations: 22.64 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.4673, allocations: 1.688 MB / 1.027 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.4675, allocations: 0.6807 MB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.4676, allocations: 11.98 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.4676, allocations: 15.44 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.4676, allocations: 0 / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.685/4.153, allocations: 1.669 MB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.896/14.05, allocations: 20.95 kB / 1.03 GB, free: 5.344 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