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.001635/0.001635, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002061/0.002061, allocations: 216.5 kB / 22.25 MB, free: 5.262 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.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.833/2.833, allocations: 476 MB / 0.7699 GB, free: 4.812 MB / 0.6231 GB " [Timeout remaining time 176] 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.002111/0.002111, allocations: 67.64 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 170 MB / 1.283 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002847/0.3962, allocations: 1.276 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004584/0.4008, allocations: 3.088 MB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.4008, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.4008, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.509e-05/0.4009, allocations: 7.922 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.4015, allocations: 107.5 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4016, allocations: 39.84 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.4016, allocations: 4 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.4017, allocations: 11.98 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.4018, allocations: 23.91 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4018, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.402, allocations: 71.77 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.402, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.4021, allocations: 27.91 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4023, allocations: 59.81 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4023, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4023, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4023, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 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.0005319/0.4028, allocations: 278.2 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4029, allocations: 8.031 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.403, allocations: 4.938 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4031, allocations: 110.5 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4031, allocations: 4.375 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.4032, allocations: 8.375 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4034, allocations: 142.8 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4034, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4035, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4035, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/0.4035, allocations: 23.97 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.4037, allocations: 109.3 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4038, allocations: 50.5 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.4039, allocations: 16.84 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.4045, allocations: 250.1 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4046, allocations: 30.56 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.4046, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006576/0.4052, allocations: 225.1 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.4053, allocations: 59.33 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4054, allocations: 101.8 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4054, allocations: 29.7 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4055, allocations: 84.09 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4055, allocations: 31.73 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.4056, allocations: 25.72 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4058, allocations: 326.8 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.4058, allocations: 8 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.4059, allocations: 61.08 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.406, allocations: 69.08 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.406, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001609/0.4061, allocations: 101.6 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4062, allocations: 6.188 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4062, allocations: 0 / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4062, allocations: 4.438 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.4063, allocations: 16 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.4063, allocations: 11.92 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.4063, allocations: 7.938 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.4063, allocations: 4 kB / 1.29 GB, free: 4.91 MB / 0.9825 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.0001125/0.4064, allocations: 117.8 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4065, allocations: 7.953 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.4065, allocations: 12.09 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4065, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4065, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4065, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.4068, allocations: 125.3 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4068, allocations: 0 / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.4069, allocations: 23.98 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4069, allocations: 3.938 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.4069, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4069, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4069, allocations: 0 / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.4071, allocations: 179.5 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.4071, allocations: 7.953 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4072, allocations: 4.031 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4073, allocations: 4 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.4073, allocations: 4 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.4073, allocations: 0 / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.4073, allocations: 83.64 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002458/0.4076, allocations: 19.94 kB / 1.29 GB, free: 4.266 MB / 0.9825 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.0001618/0.4078, allocations: 107.3 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.4079, allocations: 43.86 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.4079, allocations: 0 / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.4079, allocations: 19.97 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.4082, allocations: 8 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.4091, allocations: 330.8 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.4091, allocations: 67.34 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.4092, allocations: 11.98 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.4092, allocations: 11.44 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4092, allocations: 0 / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.003639/0.4129, allocations: 0.6469 MB / 1.291 GB, free: 2.992 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.5396070163697]