Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001641/0.001641, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002308/0.002308, allocations: 214 kB / 22.99 MB, free: 4.984 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck") [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.002113/0.002113, allocations: 65.34 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002526/0.3793, allocations: 1.281 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.3834, allocations: 3.087 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3835, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.3835, allocations: 3.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.3835, allocations: 11.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.3841, allocations: 99.55 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.3842, allocations: 35.86 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.3842, allocations: 7.984 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.3843, allocations: 19.98 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.3843, allocations: 11.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.3843, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3846, allocations: 71.75 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.3846, allocations: 11.98 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.3846, allocations: 15.92 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3848, allocations: 59.81 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3848, allocations: 4 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3848, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3848, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 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.000498/0.3853, allocations: 274.2 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3853, allocations: 8.031 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.858e-05/0.3854, allocations: 4.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3855, allocations: 110.5 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3856, allocations: 384 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3856, allocations: 12.36 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3858, allocations: 142.8 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3858, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3858, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3858, allocations: 4 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.049e-05/0.3859, allocations: 11.98 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3861, allocations: 121.2 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3862, allocations: 46.56 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.3862, allocations: 12.86 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.3868, allocations: 245.8 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3868, allocations: 34.56 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3868, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006053/0.3874, allocations: 233.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.3875, allocations: 51.41 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.3875, allocations: 97.84 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.3876, allocations: 29.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3876, allocations: 88.09 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3876, allocations: 23.75 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3877, allocations: 29.7 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3878, allocations: 322.7 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.3879, allocations: 16.05 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.3879, allocations: 61.08 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.388, allocations: 77.09 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.388, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.3882, allocations: 93.72 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3882, allocations: 8 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3882, allocations: 0 / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3882, allocations: 4 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.3883, allocations: 20.11 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3883, allocations: 11.88 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.3883, allocations: 8 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3883, allocations: 4 kB / 1.334 GB, free: 9.688 MB / 1.029 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.362e-05/0.3884, allocations: 118.3 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3885, allocations: 3.953 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.3885, allocations: 8.062 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3885, allocations: 7.984 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3885, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3885, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3887, allocations: 125.2 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3887, allocations: 4 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.3888, allocations: 15.94 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3888, allocations: 0 / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3888, allocations: 3.984 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3888, allocations: 4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3888, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.389, allocations: 171.4 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.3891, allocations: 8.031 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3891, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3892, allocations: 4 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.3892, allocations: 7.984 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3892, allocations: 8 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.3893, allocations: 79.28 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3893, allocations: 0 / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002474/0.3895, allocations: 12 kB / 1.334 GB, free: 9.062 MB / 1.029 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.0001357/0.3896, allocations: 99.19 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.3898, allocations: 55.84 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3898, allocations: 256 / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.3898, allocations: 12 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.3901, allocations: 14.83 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.3907, allocations: 338.8 kB / 1.335 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.3908, allocations: 65.09 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.3908, allocations: 11.98 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.3909, allocations: 11.44 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3909, allocations: 3.938 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of Templates: time 0.004035/0.3949, allocations: 0.6797 MB / 1.336 GB, free: 7.742 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.340977944011684]