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.001332/0.001332, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001572/0.001572, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.139/3.139, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] 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.002216/0.002216, allocations: 61.92 kB / 1.17 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002193/0.3426, allocations: 1.27 MB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.3456, allocations: 2.375 MB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.3456, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.3456, allocations: 3.938 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.3456, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3461, allocations: 131.3 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.3462, allocations: 39.84 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.3462, allocations: 3.984 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.3463, allocations: 19.98 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.3463, allocations: 15.92 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3464, allocations: 4 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.3466, allocations: 107.8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3466, allocations: 7.984 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3466, allocations: 19.92 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3468, allocations: 84 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3468, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3468, allocations: 0 / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.3468, allocations: 0 / 1.349 GB, free: 11.89 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.0003676/0.3472, allocations: 274.3 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3472, allocations: 12.03 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.93e-05/0.3473, allocations: 4.188 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.3473, allocations: 34.75 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.3475, allocations: 16.92 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.3476, allocations: 114.4 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3476, allocations: 384 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3476, allocations: 12.08 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3478, allocations: 149.4 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3478, allocations: 3.938 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3478, allocations: 3.938 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3478, allocations: 0 / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.3478, allocations: 15.94 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3484, allocations: 412.3 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3485, allocations: 79.73 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.3486, allocations: 18.7 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.3486, allocations: 3.938 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.3486, allocations: 38.56 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3486, allocations: 0 / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000561/0.3492, allocations: 229.1 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3492, allocations: 107.1 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.3493, allocations: 101.8 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.3493, allocations: 29.7 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.3493, allocations: 92.08 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.3494, allocations: 27.75 kB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3494, allocations: 29.7 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3495, allocations: 314.8 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.3496, allocations: 15.98 kB / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.749e-05/0.3496, allocations: 57.08 kB / 1.351 GB, free: 9.441 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.3497, allocations: 73.09 kB / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3497, allocations: 0 / 1.351 GB, free: 9.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.3499, allocations: 93.5 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3499, allocations: 8 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3499, allocations: 0 / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3499, allocations: 4 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.35, allocations: 23.92 kB / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.35, allocations: 128 / 1.352 GB, free: 9.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.35, allocations: 15.94 kB / 1.352 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.35, allocations: 8.062 kB / 1.352 GB, free: 9.195 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 7.916e-05/0.3501, allocations: 117.8 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.3502, allocations: 4 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.3502, allocations: 12.34 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3502, allocations: 0 / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3502, allocations: 4 kB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3502, allocations: 3.938 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3505, allocations: 140.8 kB / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3505, allocations: 0 / 1.352 GB, free: 8.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.3506, allocations: 27.92 kB / 1.352 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3506, allocations: 3.984 kB / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.3506, allocations: 0 / 1.352 GB, free: 8.828 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3506, allocations: 4 kB / 1.352 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3506, allocations: 3.938 kB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.3509, allocations: 330 kB / 1.352 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.3509, allocations: 11.95 kB / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3509, allocations: 3.938 kB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3511, allocations: 8.031 kB / 1.352 GB, free: 8.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.3511, allocations: 7.938 kB / 1.352 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3512, allocations: 12 kB / 1.352 GB, free: 8.438 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.3512, allocations: 79.27 kB / 1.352 GB, free: 8.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3512, allocations: 0 / 1.352 GB, free: 8.359 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002994/0.3515, allocations: 16 kB / 1.352 GB, free: 8.344 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.0005689/0.3521, allocations: 0.8517 MB / 1.353 GB, free: 7.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3522, allocations: 43.97 kB / 1.353 GB, free: 7.418 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3522, allocations: 4.25 kB / 1.353 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.3522, allocations: 15.92 kB / 1.353 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3526, allocations: 11.94 kB / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3543, allocations: 1.693 MB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.3544, allocations: 67.94 kB / 1.355 GB, free: 5.492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.3544, allocations: 19.81 kB / 1.355 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.3544, allocations: 15.44 kB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3544, allocations: 0 / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3769, allocations: 1.906 MB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.18, allocations: 11.25 kB / 1.357 GB, free: 3.734 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.691387113998644]