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.001452/0.001452, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001626/0.001626, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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 2.912/2.912, allocations: 0.49 GB / 0.7958 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.001965/0.001965, allocations: 66.72 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002243/0.2959, allocations: 1.289 MB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003968/0.2999, allocations: 3.355 MB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.2999, allocations: 0 / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2999, allocations: 7.922 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3, allocations: 7.922 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.3005, allocations: 107.5 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.3006, allocations: 35.86 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.544e-05/0.3006, allocations: 4 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.3006, allocations: 23.91 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.3007, allocations: 19.92 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.3007, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.3009, allocations: 87.78 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3009, allocations: 4 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.301, allocations: 15.92 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.3012, allocations: 75.78 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3012, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3012, allocations: 0 / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.3012, allocations: 4 kB / 1.332 GB, free: 12.43 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.0003929/0.3016, allocations: 274.2 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3016, allocations: 8.031 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.3017, allocations: 8.922 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3018, allocations: 110.4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3018, allocations: 8.375 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3018, allocations: 4.375 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.302, allocations: 61.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.302, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.302, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.302, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.302, allocations: 19.98 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3022, allocations: 140.6 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.3023, allocations: 50.5 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.3023, allocations: 16.84 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.3029, allocations: 250.1 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3029, allocations: 34.55 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3029, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005172/0.3034, allocations: 225.1 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3035, allocations: 59.34 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.3035, allocations: 97.86 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3036, allocations: 25.7 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.3036, allocations: 92.09 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3036, allocations: 23.73 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.3037, allocations: 29.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3038, allocations: 322.8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.3038, allocations: 8 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.3039, allocations: 57.14 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.304, allocations: 73.08 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.304, allocations: 4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001437/0.3041, allocations: 97.72 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3042, allocations: 8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3042, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3042, allocations: 4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.3043, allocations: 23.92 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3043, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.3043, allocations: 7.938 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.3043, allocations: 8.562 kB / 1.334 GB, free: 10.06 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 8.421e-05/0.3044, allocations: 118.3 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3044, allocations: 3.953 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3044, allocations: 12.06 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3044, allocations: 0 / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3044, allocations: 7.938 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3044, allocations: 3.938 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3047, allocations: 148.8 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3047, allocations: 0 / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.3048, allocations: 23.98 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3048, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3048, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3048, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3048, allocations: 0 / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.305, allocations: 179.3 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.305, allocations: 7.953 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.305, allocations: 4 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3051, allocations: 8.031 kB / 1.335 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.3051, allocations: 4 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3051, allocations: 3.938 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.3052, allocations: 87.27 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3052, allocations: 0 / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.3054, allocations: 8 kB / 1.335 GB, free: 9.383 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.0001148/0.3055, allocations: 103.2 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.3056, allocations: 43.91 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3056, allocations: 0 / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.3057, allocations: 19.92 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.3059, allocations: 8 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.3065, allocations: 361.4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3068, allocations: 0.6807 MB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.3069, allocations: 11.44 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3069, allocations: 4 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of Templates: time 0.002164/0.309, allocations: 0.781 MB / 1.337 GB, free: 7.312 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: 9.91344508601469]