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.00167/0.00167, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001856/0.001856, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.016 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.386/3.386, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002104/0.002104, allocations: 68.16 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4359, allocations: 176.1 MB / 1.325 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.003123/0.439, allocations: 1.275 MB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00554/0.4446, allocations: 3.083 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.4446, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.4446, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.4447, allocations: 7.922 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.4456, allocations: 103.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.4457, allocations: 43.84 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.4457, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.4458, allocations: 23.92 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.446, allocations: 11.97 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.446, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.4463, allocations: 63.83 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.4463, allocations: 11.92 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.4463, allocations: 11.98 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.4466, allocations: 71.73 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4466, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4466, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.4466, allocations: 0 / 1.33 GB, free: 13.21 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.0006667/0.4473, allocations: 278.2 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.4473, allocations: 8.031 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.4475, allocations: 8.875 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4477, allocations: 110.5 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4477, allocations: 384 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.4477, allocations: 8.375 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.448, allocations: 130.9 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.448, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4481, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4481, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.4481, allocations: 27.91 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.4484, allocations: 109.3 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4485, allocations: 50.55 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.4486, allocations: 12.86 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008505/0.4494, allocations: 242.1 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.4495, allocations: 38.55 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.4495, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0008028/0.4503, allocations: 225.1 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4504, allocations: 55.41 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4505, allocations: 97.86 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4505, allocations: 25.7 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.4507, allocations: 88.09 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4507, allocations: 31.73 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.4508, allocations: 25.7 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.451, allocations: 322.8 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.451, allocations: 12 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4511, allocations: 61.02 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4513, allocations: 77.02 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.4513, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000182/0.4514, allocations: 97.77 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.4515, allocations: 5.719 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4515, allocations: 8.125 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4515, allocations: 0 / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.4516, allocations: 19.98 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4516, allocations: 4 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.4516, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.4517, allocations: 8 kB / 1.332 GB, free: 10.78 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.0001159/0.4518, allocations: 122.2 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4518, allocations: 7.953 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.4518, allocations: 8.062 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4518, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4519, allocations: 4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4519, allocations: 4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.4521, allocations: 129.3 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4521, allocations: 448 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.4522, allocations: 16 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4522, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4522, allocations: 4 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4522, allocations: 0 / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4522, allocations: 0 / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.4525, allocations: 179.4 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.4525, allocations: 8.031 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4526, allocations: 8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4527, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.4527, allocations: 3.984 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4527, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.4528, allocations: 75.28 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4528, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002576/0.453, allocations: 16 kB / 1.333 GB, free: 10.14 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.0002129/0.4532, allocations: 99.25 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4534, allocations: 51.84 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4534, allocations: 7.875 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.4535, allocations: 19.98 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4538, allocations: 4 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.4547, allocations: 327.1 kB / 1.333 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.4548, allocations: 67.34 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.4549, allocations: 11.98 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.4549, allocations: 11.44 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/0.4549, allocations: 0 / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of Templates: time 0.003961/0.4589, allocations: 0.6472 MB / 1.334 GB, free: 8.863 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.599574547261]