Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001318/0.001318, 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.001928/0.001928, allocations: 215.3 kB / 23.04 MB, free: 5.078 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.279/3.279, allocations: 0.5003 GB / 0.8061 GB, free: 26.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_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.002037/0.002037, allocations: 71.33 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002823/0.3729, allocations: 1.286 MB / 1.347 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.3768, allocations: 2.581 MB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.3769, allocations: 3.938 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.3769, allocations: 3.938 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.3769, allocations: 15.92 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.3776, allocations: 131.4 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.3776, allocations: 31.92 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.3777, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.3777, allocations: 23.92 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.3778, allocations: 19.91 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3778, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.3781, allocations: 119.8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.3781, allocations: 8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.3782, allocations: 23.91 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3784, allocations: 84 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3784, allocations: 0 / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3784, allocations: 0 / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3784, allocations: 0 / 1.35 GB, free: 12.09 MB / 1.045 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.0004371/0.3788, allocations: 274.2 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3789, allocations: 12.03 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3789, allocations: 8.188 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.3789, allocations: 38.67 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.3791, allocations: 16.88 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3792, allocations: 114.4 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3793, allocations: 4.359 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.3793, allocations: 16.08 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3795, allocations: 60.27 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3795, allocations: 8 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3795, allocations: 4 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3795, allocations: 0 / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.3795, allocations: 15.92 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.3802, allocations: 408.3 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3804, allocations: 75.59 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.3804, allocations: 26.7 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.3804, allocations: 0 / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.3805, allocations: 38.56 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3805, allocations: 0 / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006504/0.3811, allocations: 225.2 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.3812, allocations: 106.8 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.3813, allocations: 106.2 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3813, allocations: 29.95 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.3814, allocations: 92.02 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3814, allocations: 31.73 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3815, allocations: 25.72 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3816, allocations: 318.8 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.3817, allocations: 11.98 kB / 1.352 GB, free: 9.801 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.3817, allocations: 61.2 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.93e-05/0.3818, allocations: 69.09 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3818, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001596/0.382, allocations: 97.5 kB / 1.352 GB, free: 9.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.382, allocations: 8 kB / 1.352 GB, free: 9.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.382, allocations: 3.938 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.382, allocations: 0 / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.3821, allocations: 31.92 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3821, allocations: 0 / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3822, allocations: 11.88 kB / 1.352 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3822, allocations: 4 kB / 1.352 GB, free: 9.477 MB / 1.045 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.41e-05/0.3823, allocations: 110 kB / 1.352 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.3823, allocations: 11.98 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.3824, allocations: 11.75 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3824, allocations: 0 / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3824, allocations: 3.938 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3824, allocations: 3.938 kB / 1.352 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.3827, allocations: 152.7 kB / 1.352 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3827, allocations: 0 / 1.352 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.3828, allocations: 15.98 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3828, allocations: 4 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3828, allocations: 0 / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3828, allocations: 4 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3828, allocations: 4 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.3831, allocations: 330 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3832, allocations: 7.984 kB / 1.352 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.3832, allocations: 4 kB / 1.352 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3834, allocations: 4 kB / 1.352 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3834, allocations: 15.92 kB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3834, allocations: 4 kB / 1.352 GB, free: 8.73 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.3835, allocations: 75.28 kB / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 0 / 1.353 GB, free: 8.656 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003344/0.3838, allocations: 16 kB / 1.353 GB, free: 8.641 MB / 1.045 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.0006289/0.3844, allocations: 0.8639 MB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.3846, allocations: 44.25 kB / 1.353 GB, free: 7.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3846, allocations: 0 / 1.353 GB, free: 7.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.3846, allocations: 24.31 kB / 1.353 GB, free: 7.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3851, allocations: 15.47 kB / 1.353 GB, free: 7.668 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3869, allocations: 1.696 MB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3872, allocations: 0.6807 MB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.123e-05/0.3873, allocations: 11.78 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.3873, allocations: 19.42 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of SimCode: time 5.92e-07/0.3873, allocations: 0 / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4105, allocations: 1.873 MB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 1.406 kB / 1.358 GB, free: 3.426 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.65336792502785]