Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001518/0.001518, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001645/0.001645, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.9/2.9, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001882/0.001882, allocations: 67.67 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2911, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002265/0.2934, allocations: 1.296 MB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.2972, allocations: 3.356 MB / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.2973, allocations: 0 / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.2973, allocations: 0 / 1.359 GB, free: 3.301 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.2973, allocations: 7.922 kB / 1.359 GB, free: 3.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.2978, allocations: 115.5 kB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.108e-05/0.2979, allocations: 27.92 kB / 1.359 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.2979, allocations: 3.984 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.298, allocations: 27.92 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.786e-05/0.298, allocations: 11.98 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2981, allocations: 4 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.2983, allocations: 87.72 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.2983, allocations: 7.938 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.2983, allocations: 15.94 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.2985, allocations: 67.84 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2985, allocations: 0 / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2985, allocations: 3.938 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2985, allocations: 0 / 1.359 GB, free: 2.926 MB / 1.045 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.0003667/0.2989, allocations: 278.2 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2989, allocations: 15.97 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.299, allocations: 4.938 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2991, allocations: 106.5 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2991, allocations: 384 / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.2991, allocations: 12.33 kB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2993, allocations: 61.72 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2993, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2993, allocations: 8 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2993, allocations: 4 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.2993, allocations: 23.97 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2995, allocations: 132.8 kB / 1.36 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.659e-05/0.2996, allocations: 42.56 kB / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.2996, allocations: 20.78 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.3002, allocations: 254.1 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.3002, allocations: 30.56 kB / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3002, allocations: 0 / 1.36 GB, free: 1.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000521/0.3008, allocations: 221.1 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3008, allocations: 59.41 kB / 1.36 GB, free: 1.488 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.3009, allocations: 97.86 kB / 1.36 GB, free: 1.383 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3009, allocations: 29.7 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.3009, allocations: 88.08 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.301, allocations: 27.75 kB / 1.36 GB, free: 1.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.301, allocations: 33.64 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3011, allocations: 314.8 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.3012, allocations: 15.98 kB / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3012, allocations: 57.08 kB / 1.361 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.3013, allocations: 81.27 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3013, allocations: 0 / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.3014, allocations: 97.5 kB / 1.361 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3015, allocations: 4 kB / 1.361 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3015, allocations: 4 kB / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.3015, allocations: 0 / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.3016, allocations: 27.92 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3016, allocations: 0 / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3016, allocations: 11.94 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3016, allocations: 4 kB / 1.361 GB, free: 0.5352 MB / 1.045 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 7.837e-05/0.3017, allocations: 117.9 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.3017, allocations: 4 kB / 1.361 GB, free: 416 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3017, allocations: 8.062 kB / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3017, allocations: 0 / 1.361 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3017, allocations: 7.984 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3018, allocations: 7.875 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.302, allocations: 145.2 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.302, allocations: 0 / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.3021, allocations: 15.94 kB / 1.361 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3021, allocations: 4 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3021, allocations: 12 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3021, allocations: 0 / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3021, allocations: 0 / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.3023, allocations: 171.4 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3023, allocations: 8.031 kB / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3023, allocations: 0 / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3024, allocations: 7.938 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.3024, allocations: 7.984 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3024, allocations: 11.94 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.3025, allocations: 79.22 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3025, allocations: 0 / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002255/0.3027, allocations: 16 kB / 1.362 GB, free: 15.85 MB / 1.061 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.0001111/0.3028, allocations: 95.25 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3029, allocations: 44.06 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3029, allocations: 4.25 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.303, allocations: 19.97 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.3032, allocations: 8 kB / 1.362 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.3038, allocations: 348.6 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.304, allocations: 0.6845 MB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3041, allocations: 15.44 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3041, allocations: 0 / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of Templates: time 0.002204/0.3063, allocations: 0.789 MB / 1.364 GB, free: 13.79 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.855738424987067]