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.001357/0.001357, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001509/0.001509, allocations: 214 kB / 23.03 MB, free: 4.953 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.015/3.015, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_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.002205/0.002205, allocations: 63.59 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3389, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003054/0.342, allocations: 1.282 MB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003668/0.3456, allocations: 2.376 MB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.3457, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.3457, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.3457, allocations: 3.938 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.3464, allocations: 135.4 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.3465, allocations: 39.83 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3466, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.3466, allocations: 23.92 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.3467, allocations: 15.92 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3467, allocations: 4 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.347, allocations: 99.81 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.3471, allocations: 11.97 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.3471, allocations: 11.94 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3474, allocations: 77.19 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3474, allocations: 4 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3474, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.3474, allocations: 0 / 1.288 GB, free: 6.598 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.0004905/0.3479, allocations: 278.2 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3479, allocations: 12.03 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.3479, allocations: 4.125 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.348, allocations: 34.75 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.3482, allocations: 12.94 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3483, allocations: 110.5 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3483, allocations: 8.375 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3484, allocations: 8.125 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3486, allocations: 149.4 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3486, allocations: 11.88 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3486, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3486, allocations: 4 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.3487, allocations: 7.984 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.3494, allocations: 424.2 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3495, allocations: 71.67 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.3496, allocations: 22.78 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3496, allocations: 8 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3496, allocations: 34.56 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3496, allocations: 0 / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006624/0.3503, allocations: 229 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.3504, allocations: 106.8 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.3505, allocations: 101.8 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3505, allocations: 29.7 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.3505, allocations: 92.08 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3506, allocations: 28 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.3506, allocations: 29.7 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3508, allocations: 318.8 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-05/0.3508, allocations: 15.98 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.3509, allocations: 49.14 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.351, allocations: 69.09 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.351, allocations: 0 / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/0.3511, allocations: 97.55 kB / 1.29 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3512, allocations: 8 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3512, allocations: 0 / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3512, allocations: 4.609 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.3513, allocations: 23.92 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3513, allocations: 0 / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.3513, allocations: 7.938 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3513, allocations: 8 kB / 1.29 GB, free: 3.902 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 9.211e-05/0.3514, allocations: 117.8 kB / 1.29 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3515, allocations: 12.08 kB / 1.29 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.3515, allocations: 7.75 kB / 1.29 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3515, allocations: 3.984 kB / 1.29 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3515, allocations: 7.984 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3515, allocations: 3.938 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3519, allocations: 140.7 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3519, allocations: 0 / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.332e-05/0.352, allocations: 19.98 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.352, allocations: 3.938 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.352, allocations: 8 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.352, allocations: 64 / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.352, allocations: 11.94 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3523, allocations: 329.9 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3523, allocations: 4 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.3523, allocations: 4 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3525, allocations: 8.031 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.3525, allocations: 7.938 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3525, allocations: 4 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.3526, allocations: 83.27 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3526, allocations: 0 / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003209/0.3529, allocations: 12 kB / 1.291 GB, free: 3.059 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.0005987/0.3535, allocations: 0.8634 MB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3536, allocations: 43.92 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3536, allocations: 0 / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.3537, allocations: 19.94 kB / 1.292 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.3541, allocations: 18.73 kB / 1.292 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.356, allocations: 1.701 MB / 1.294 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.669e-05/0.3561, allocations: 67.34 kB / 1.294 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.936e-05/0.3561, allocations: 12.05 kB / 1.294 GB, free: 176 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.3561, allocations: 15.44 kB / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of SimCode: time 6.02e-07/0.3562, allocations: 0 / 1.294 GB, free: 160 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.3804, allocations: 1.907 MB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 3.25 kB / 1.296 GB, free: 14.44 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: 19.100950658903457]