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.001409/0.001409, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001497/0.001497, allocations: 226.4 kB / 23 MB, free: 4.914 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.176/3.176, allocations: 0.4892 GB / 0.7951 GB, free: 35.68 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.002072/0.002072, allocations: 64.91 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3726, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002759/0.3754, allocations: 1.277 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00439/0.3798, allocations: 3.087 MB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.3798, allocations: 0 / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3798, allocations: 3.938 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.3799, allocations: 7.922 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.3804, allocations: 99.55 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.3805, allocations: 35.91 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.3805, allocations: 11.94 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.3806, allocations: 19.92 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.3806, allocations: 19.91 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3807, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.3809, allocations: 71.77 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.3809, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3809, allocations: 19.91 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.3811, allocations: 63.86 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3812, allocations: 3.938 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3812, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3812, allocations: 4 kB / 1.331 GB, free: 13.17 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.0004308/0.3816, allocations: 274.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3816, allocations: 8.031 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3817, allocations: 8.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3819, allocations: 114.4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3819, allocations: 384 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3819, allocations: 8.375 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3821, allocations: 130.9 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3821, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3821, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3821, allocations: 8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.3822, allocations: 19.97 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3824, allocations: 109.3 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3825, allocations: 54.48 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3825, allocations: 12.86 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005988/0.3831, allocations: 242.1 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/0.3832, allocations: 34.56 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3832, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005862/0.3838, allocations: 233 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3838, allocations: 51.41 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.3839, allocations: 101.9 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3839, allocations: 25.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.384, allocations: 88.09 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.384, allocations: 31.73 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.384, allocations: 25.66 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3842, allocations: 322.8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.3842, allocations: 12 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.3843, allocations: 53.14 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3844, allocations: 81.25 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3844, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.3845, allocations: 97.98 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3846, allocations: 6.188 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3846, allocations: 4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3846, allocations: 3.938 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.3847, allocations: 24.11 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3847, allocations: 11.94 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.3847, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3847, allocations: 4 kB / 1.333 GB, free: 10.74 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 0.0001023/0.3848, allocations: 122.2 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.3849, allocations: 7.953 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.3849, allocations: 8.062 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3849, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3849, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3849, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.3851, allocations: 133.3 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3851, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.3852, allocations: 16 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3852, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3852, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3852, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3852, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3855, allocations: 179.4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3855, allocations: 8.031 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3856, allocations: 3.938 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3857, allocations: 8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.3857, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3857, allocations: 7.984 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.3857, allocations: 75.28 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3857, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002496/0.386, allocations: 16 kB / 1.334 GB, free: 10.11 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.0001335/0.3861, allocations: 99.58 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3863, allocations: 51.92 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3863, allocations: 256 / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.3863, allocations: 27.92 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3866, allocations: 4 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.3872, allocations: 348.2 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.3873, allocations: 71.34 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.3873, allocations: 11.44 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of SimCode: time 7.22e-07/0.3873, allocations: 0 / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of Templates: time 0.002501/0.3898, allocations: 0.7931 MB / 1.335 GB, free: 8.648 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 -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: 11.150989055167884]