Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.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.001342/0.001342, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001614/0.001614, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.738 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.827/2.827, allocations: 476 MB / 0.7699 GB, free: 4.652 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck",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.002196/0.002196, allocations: 63.98 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3678, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002813/0.3706, allocations: 1.268 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.3754, allocations: 3.084 MB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.3754, allocations: 4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.3754, allocations: 3.938 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.3755, allocations: 3.984 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.3762, allocations: 107.5 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.3762, allocations: 35.86 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.3763, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.3763, allocations: 23.91 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3764, allocations: 19.92 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3764, allocations: 8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3767, allocations: 63.81 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.3767, allocations: 11.98 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3767, allocations: 11.94 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.377, allocations: 61.55 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.377, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.377, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.377, allocations: 3.984 kB / 1.287 GB, free: 7.719 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.0004421/0.3774, allocations: 274.2 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3775, allocations: 8.031 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.3775, allocations: 42.75 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.3776, allocations: 8.922 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3778, allocations: 110.4 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3778, allocations: 4.375 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3779, allocations: 4.375 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3781, allocations: 130.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3781, allocations: 4 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3781, allocations: 0 / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3781, allocations: 4 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.3782, allocations: 19.97 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.3785, allocations: 144.7 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3786, allocations: 50.5 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3787, allocations: 12.84 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.3794, allocations: 241.8 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3795, allocations: 30.56 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.3795, allocations: 0 / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0008502/0.3803, allocations: 233.4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.3804, allocations: 51.41 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3805, allocations: 117.6 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3806, allocations: 33.7 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3806, allocations: 84.09 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.3808, allocations: 31.73 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.3808, allocations: 25.72 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.3811, allocations: 314.8 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.3811, allocations: 12 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.3812, allocations: 49.14 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.3813, allocations: 81.08 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3813, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.3814, allocations: 93.55 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3815, allocations: 4 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3815, allocations: 0 / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3815, allocations: 4 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.3816, allocations: 19.94 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3816, allocations: 7.984 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.3816, allocations: 8.062 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3816, allocations: 8 kB / 1.289 GB, free: 5.203 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.0001504/0.3818, allocations: 117.8 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3818, allocations: 7.953 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.3819, allocations: 8.062 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3819, allocations: 0 / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3819, allocations: 0 / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3819, allocations: 7.875 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3821, allocations: 141.2 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3821, allocations: 0 / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.908e-05/0.3822, allocations: 16 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3822, allocations: 8 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3823, allocations: 4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3823, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3823, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3825, allocations: 179.4 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.3825, allocations: 11.98 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3825, allocations: 0 / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3826, allocations: 4 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.3827, allocations: 11.92 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3827, allocations: 4 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.938e-05/0.3827, allocations: 79.66 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3827, allocations: 0 / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002483/0.383, allocations: 16 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0005737/0.3835, allocations: 0.7164 MB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3837, allocations: 39.97 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3837, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.3837, allocations: 20.22 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.384, allocations: 12.19 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.386, allocations: 1.539 MB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.386, allocations: 63.34 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.3861, allocations: 12.05 kB / 1.292 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.3861, allocations: 15.44 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.3861, allocations: 0 / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4208, allocations: 2.197 MB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 2.75 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.604457209818065]