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.001803/0.001803, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002144/0.002144, allocations: 164.6 kB / 23.01 MB, free: 4.598 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.616/1.616, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.847/2.847, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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.002116/0.002116, allocations: 71.88 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002098/1.015, allocations: 1.28 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003001/1.018, allocations: 3.083 MB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/1.018, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/1.018, allocations: 7.266 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/1.019, allocations: 3.938 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/1.019, allocations: 104.5 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.092e-05/1.019, allocations: 38.8 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/1.019, allocations: 2.656 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/1.019, allocations: 19.22 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/1.019, allocations: 23.62 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/1.019, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/1.019, allocations: 65.38 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/1.019, allocations: 6.938 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/1.02, allocations: 21.09 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/1.02, allocations: 64.33 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.02, allocations: 3.422 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/1.02, allocations: 4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.02, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 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.0003357/1.02, allocations: 273.3 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.02, allocations: 8.438 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/1.02, allocations: 7.031 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.575e-05/1.02, allocations: 109.3 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.02, allocations: 7.312 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/1.02, allocations: 3.188 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/1.02, allocations: 136.4 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.02, allocations: 4 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.02, allocations: 2.812 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.02, allocations: 0 / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/1.021, allocations: 11.97 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/1.021, allocations: 116.8 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/1.021, allocations: 49.41 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/1.021, allocations: 17.92 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/1.021, allocations: 247.3 kB / 1.159 GB, free: 29.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/1.021, allocations: 34.56 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/1.021, allocations: 3.938 kB / 1.159 GB, free: 29.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004733/1.022, allocations: 233.8 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/1.022, allocations: 51.41 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/1.022, allocations: 98.83 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/1.022, allocations: 29.7 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/1.022, allocations: 90.94 kB / 1.16 GB, free: 28.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/1.022, allocations: 26.14 kB / 1.16 GB, free: 28.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.022, allocations: 26.72 kB / 1.16 GB, free: 28.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.177e-05/1.022, allocations: 318.1 kB / 1.16 GB, free: 28.33 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/1.022, allocations: 15.97 kB / 1.16 GB, free: 28.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.976e-05/1.022, allocations: 60.36 kB / 1.16 GB, free: 28.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/1.022, allocations: 67.78 kB / 1.16 GB, free: 28.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/1.022, allocations: 0 / 1.16 GB, free: 28.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001077/1.022, allocations: 98.62 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.022, allocations: 5.125 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.022, allocations: 2.719 kB / 1.161 GB, free: 28.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.022, allocations: 8.062 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/1.022, allocations: 20.16 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.022, allocations: 2.938 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/1.022, allocations: 6.906 kB / 1.161 GB, free: 28.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/1.022, allocations: 6.719 kB / 1.161 GB, free: 28.13 MB / 1.076 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 5.354e-05/1.022, allocations: 124.3 kB / 1.161 GB, free: 28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/1.022, allocations: 6.922 kB / 1.161 GB, free: 28 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/1.022, allocations: 10.75 kB / 1.161 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.022, allocations: 0 / 1.161 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.022, allocations: 0 / 1.161 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.022, allocations: 7.141 kB / 1.161 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/1.023, allocations: 123.4 kB / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.023, allocations: 3.031 kB / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/1.023, allocations: 14.91 kB / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.023, allocations: 0 / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.023, allocations: 6.625 kB / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.023, allocations: 0 / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/1.023, allocations: 448 / 1.161 GB, free: 27.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/1.023, allocations: 177.1 kB / 1.161 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/1.023, allocations: 6.203 kB / 1.161 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/1.023, allocations: 0 / 1.161 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.023, allocations: 10.69 kB / 1.161 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/1.023, allocations: 5.828 kB / 1.161 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.023, allocations: 10.5 kB / 1.161 GB, free: 27.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.76e-05/1.023, allocations: 77.94 kB / 1.161 GB, free: 27.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.023, allocations: 0 / 1.161 GB, free: 27.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000236/1.023, allocations: 14.56 kB / 1.161 GB, free: 27.6 MB / 1.076 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 9.034e-05/1.023, allocations: 99.05 kB / 1.161 GB, free: 27.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001149/1.023, allocations: 51.62 kB / 1.161 GB, free: 27.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.023, allocations: 0 / 1.161 GB, free: 27.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/1.023, allocations: 17.48 kB / 1.161 GB, free: 27.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/1.024, allocations: 8.875 kB / 1.161 GB, free: 27.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/1.024, allocations: 333 kB / 1.162 GB, free: 27.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/1.024, allocations: 69.88 kB / 1.162 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.167e-05/1.024, allocations: 6.75 kB / 1.162 GB, free: 27.13 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/1.024, allocations: 11.03 kB / 1.162 GB, free: 27.12 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.024, allocations: 2.781 kB / 1.162 GB, free: 27.12 MB / 1.076 GB Notification: Performance of Templates: time 0.003634/1.028, allocations: 0.599 MB / 1.162 GB, free: 27.04 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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.208558112964965]