Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001677/0.001677, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002133/0.002133, allocations: 214.8 kB / 22.25 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.938/2.938, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",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.002098/0.002098, allocations: 68.52 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3138, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002544/0.3163, allocations: 1.291 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.32, allocations: 2.587 MB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.32, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.32, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.3201, allocations: 7.938 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.3207, allocations: 135.4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.3208, allocations: 47.84 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.3209, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.3209, allocations: 15.92 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.321, allocations: 19.97 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.321, allocations: 4 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.3213, allocations: 111.8 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.3214, allocations: 19.86 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.3214, allocations: 15.98 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3216, allocations: 79.3 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3216, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3216, allocations: 4 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3216, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 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.0004472/0.3221, allocations: 282.1 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3221, allocations: 8.031 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.3222, allocations: 42.73 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.3224, allocations: 12.92 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3225, allocations: 102.5 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3225, allocations: 4.375 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3225, allocations: 16.36 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3227, allocations: 72.14 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3227, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3227, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3227, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.3228, allocations: 15.92 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.3234, allocations: 416.3 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3236, allocations: 75.81 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.3236, allocations: 30.58 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3236, allocations: 0 / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3237, allocations: 34.5 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3237, allocations: 4 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006459/0.3243, allocations: 229.3 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.3244, allocations: 106.8 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3245, allocations: 102.3 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3245, allocations: 25.7 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3246, allocations: 88.09 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3246, allocations: 27.75 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.3246, allocations: 29.7 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3248, allocations: 318.8 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.3248, allocations: 15.98 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.3249, allocations: 57.08 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.325, allocations: 77.06 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.325, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001741/0.3252, allocations: 97.55 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3252, allocations: 4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3252, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3252, allocations: 4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.3253, allocations: 19.98 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3253, allocations: 4 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.3254, allocations: 4.125 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3254, allocations: 7.938 kB / 1.29 GB, free: 4.801 MB / 0.9825 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 0.0001067/0.3255, allocations: 117.8 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.3256, allocations: 7.953 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3256, allocations: 11.73 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3256, allocations: 4 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3256, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3256, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.326, allocations: 152.7 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.326, allocations: 8 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.326, allocations: 12 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.326, allocations: 0 / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3261, allocations: 7.984 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3261, allocations: 0 / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3261, allocations: 3.938 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.3264, allocations: 334.1 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.3264, allocations: 8.031 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3264, allocations: 0 / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3266, allocations: 11.94 kB / 1.29 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3266, allocations: 7.922 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.3266, allocations: 4 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.3267, allocations: 79.28 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3267, allocations: 0 / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000334/0.327, allocations: 15.94 kB / 1.291 GB, free: 3.961 MB / 0.9825 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.000646/0.3277, allocations: 0.8598 MB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3278, allocations: 59.97 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3278, allocations: 0 / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.3278, allocations: 16 kB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3283, allocations: 14.47 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.3303, allocations: 1.693 MB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3306, allocations: 0.6945 MB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.587e-05/0.3307, allocations: 4 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.3307, allocations: 23.42 kB / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3307, allocations: 0 / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.3624, allocations: 1.842 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.66, allocations: 7.266 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.473062311066315]