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.001778/0.001778, allocations: 101 kB / 16.45 MB, free: 6.449 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.002032/0.002032, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.517/3.517, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.002073/0.002073, allocations: 64.56 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4289, allocations: 176.1 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003122/0.432, allocations: 1.277 MB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.437, allocations: 3.324 MB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.4371, allocations: 0 / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.4371, allocations: 3.938 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.4371, allocations: 7.984 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.4377, allocations: 111.5 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.4378, allocations: 31.92 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.4378, allocations: 3.984 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.4379, allocations: 23.92 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.4379, allocations: 15.92 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.4379, allocations: 4 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.4382, allocations: 87.72 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.4382, allocations: 8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.227e-05/0.4382, allocations: 19.92 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.4384, allocations: 63.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4384, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4384, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.4384, allocations: 0 / 1.326 GB, free: 13.88 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.0004883/0.4389, allocations: 355.3 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.439, allocations: 11.98 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.4391, allocations: 4.938 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.4392, allocations: 168.3 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4392, allocations: 8.359 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.992e-05/0.4393, allocations: 8.375 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4394, allocations: 61.67 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4394, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4395, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4395, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.963e-05/0.4395, allocations: 19.97 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.4397, allocations: 165.6 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4398, allocations: 54.5 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.4399, allocations: 12.84 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008553/0.4407, allocations: 0.591 MB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4408, allocations: 30.56 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4408, allocations: 11.94 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007282/0.4415, allocations: 302.2 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4415, allocations: 51.41 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.4416, allocations: 102 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4417, allocations: 25.7 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.4417, allocations: 92.09 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4418, allocations: 27.73 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.4418, allocations: 25.72 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.442, allocations: 326.8 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.442, allocations: 15.94 kB / 1.328 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.4421, allocations: 49.14 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.4422, allocations: 77.11 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4422, allocations: 0 / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001641/0.4423, allocations: 97.55 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4424, allocations: 6.344 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4424, allocations: 448 / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.4424, allocations: 8.125 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.4425, allocations: 19.94 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4425, allocations: 7.984 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.4425, allocations: 7.938 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4425, allocations: 8 kB / 1.329 GB, free: 10.75 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.0001126/0.4427, allocations: 113.8 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.4427, allocations: 3.953 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.4427, allocations: 11.97 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.4427, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4427, allocations: 4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4427, allocations: 3.938 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.443, allocations: 173.7 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.443, allocations: 0 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.4431, allocations: 27.86 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4431, allocations: 0 / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4431, allocations: 7.938 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4431, allocations: 0 / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4431, allocations: 0 / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.4434, allocations: 179.4 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4434, allocations: 77.11 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.4434, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4435, allocations: 8.031 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.4436, allocations: 4 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4436, allocations: 11.88 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.4436, allocations: 79.28 kB / 1.329 GB, free: 9.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 1.329 GB, free: 9.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002363/0.4439, allocations: 12 kB / 1.329 GB, free: 9.949 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.0001714/0.444, allocations: 107.6 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.4442, allocations: 47.89 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4442, allocations: 0 / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.4442, allocations: 15.94 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4445, allocations: 12.2 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.4452, allocations: 333.8 kB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.4457, allocations: 0.6863 MB / 1.331 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.4457, allocations: 8 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.4457, allocations: 11.44 kB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.4457, allocations: 0 / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of Templates: time 0.003178/0.4489, allocations: 0.6308 MB / 1.331 GB, free: 8.055 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/jenkins/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.609289972111583]