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.001915/0.001915, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002725/0.002725, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.578/1.578, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.687/2.687, allocations: 359.1 MB / 0.6044 GB, free: 14.79 MB / 0.5762 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: 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_11_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_11_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.002282/0.002282, allocations: 72.17 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3068, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00252/0.3094, allocations: 1.273 MB / 1.119 GB, free: 1.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.3136, allocations: 3.082 MB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.3137, allocations: 0 / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.3137, allocations: 7.922 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3137, allocations: 11.92 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.3143, allocations: 99.55 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.3144, allocations: 43.8 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.3145, allocations: 0 / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3145, allocations: 23.97 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.3146, allocations: 11.92 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3146, allocations: 4 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.3149, allocations: 67.81 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.3149, allocations: 7.984 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.3149, allocations: 15.94 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.3151, allocations: 71.67 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3151, allocations: 4 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.13e-06/0.3151, allocations: 4 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3151, allocations: 0 / 1.122 GB, free: 13.8 MB / 1.076 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.0004392/0.3156, allocations: 278.2 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3156, allocations: 8.031 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3157, allocations: 4.938 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3158, allocations: 106.5 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.3158, allocations: 384 / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.3159, allocations: 8.375 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3161, allocations: 130.9 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.3161, allocations: 4 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3161, allocations: 4 kB / 1.123 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3161, allocations: 0 / 1.123 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.875e-05/0.3162, allocations: 27.89 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.3164, allocations: 113.3 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3165, allocations: 50.53 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.3165, allocations: 16.86 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.3171, allocations: 237.8 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3172, allocations: 42.48 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3172, allocations: 3.938 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006088/0.3178, allocations: 225.9 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3178, allocations: 55.41 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.3179, allocations: 97.86 kB / 1.123 GB, free: 12.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3179, allocations: 25.7 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.318, allocations: 92.08 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.318, allocations: 27.75 kB / 1.124 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.3181, allocations: 25.7 kB / 1.124 GB, free: 12.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3182, allocations: 322.8 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.3182, allocations: 20.05 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.3183, allocations: 53.09 kB / 1.124 GB, free: 11.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.3184, allocations: 77.2 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3184, allocations: 0 / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001491/0.3185, allocations: 97.53 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3186, allocations: 4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3186, allocations: 4.125 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3186, allocations: 4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.3187, allocations: 23.98 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3187, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3187, allocations: 4 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.3187, allocations: 11.94 kB / 1.124 GB, free: 11.37 MB / 1.076 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 8.77e-05/0.3188, allocations: 109.8 kB / 1.124 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3188, allocations: 11.95 kB / 1.124 GB, free: 11.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.3189, allocations: 8.125 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3189, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3189, allocations: 0 / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3189, allocations: 7.984 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3191, allocations: 121.2 kB / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3191, allocations: 0 / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.3192, allocations: 15.94 kB / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3192, allocations: 0 / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3192, allocations: 0 / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3192, allocations: 0 / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3192, allocations: 4 kB / 1.124 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3195, allocations: 179.3 kB / 1.125 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3195, allocations: 8.031 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3195, allocations: 4 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3196, allocations: 8 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.3197, allocations: 3.984 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3197, allocations: 4 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.3197, allocations: 83.28 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3197, allocations: 0 / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002481/0.32, allocations: 8 kB / 1.125 GB, free: 10.74 MB / 1.076 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.0001372/0.3201, allocations: 99.25 kB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3202, allocations: 51.8 kB / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3202, allocations: 0 / 1.125 GB, free: 10.58 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.3203, allocations: 15.98 kB / 1.125 GB, free: 10.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3206, allocations: 7.938 kB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/0.3212, allocations: 331.2 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.3212, allocations: 63.34 kB / 1.125 GB, free: 10.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.556e-05/0.3213, allocations: 11.98 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3213, allocations: 12.5 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3213, allocations: 0 / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of Templates: time 0.003245/0.3246, allocations: 0.6125 MB / 1.126 GB, free: 9.496 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/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(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.548204430029728]