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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002631, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001086/0.001086, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002429, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9868/0.9868, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08761/1.074, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.793/1.793, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4686/2.261, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.869e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001729/0.001748, allocations: 1.361 MB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.004471, allocations: 3.379 MB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.004496, allocations: 0 / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.067e-06/0.004505, allocations: 0 / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.004531, allocations: 12.47 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.004855, allocations: 105.1 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.004924, allocations: 35.86 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.00496, allocations: 8.859 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.005018, allocations: 27.91 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.005075, allocations: 12.73 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.005087, allocations: 0 / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.005246, allocations: 80.36 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.005257, allocations: 4 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.005276, allocations: 13.78 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.005405, allocations: 55.89 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.005419, allocations: 3.938 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00542, allocations: 0 / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.005432, allocations: 0 / 0.7343 GB, free: 15.52 MB / 0.7136 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.0003261/0.005759, allocations: 253.4 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.005792, allocations: 8.625 kB / 0.7345 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.005926, allocations: 94.59 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.609e-05/0.005992, allocations: 102.9 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006005, allocations: 12.36 kB / 0.7347 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.006025, allocations: 8.328 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.00615, allocations: 128 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.006157, allocations: 4.656 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006169, allocations: 8.125 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006174, allocations: 0.9375 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.006205, allocations: 19.91 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.669e-05/0.006292, allocations: 65.92 kB / 0.7349 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.006352, allocations: 42.62 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.006369, allocations: 16.84 kB / 0.735 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.006753, allocations: 218.2 kB / 0.7352 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.006778, allocations: 50.42 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.006779, allocations: 0 / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004253/0.007205, allocations: 223 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.00723, allocations: 52.12 kB / 0.7355 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.007282, allocations: 114.6 kB / 0.7356 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.007291, allocations: 30.23 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.007324, allocations: 85.16 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.007339, allocations: 23.8 kB / 0.7358 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.007368, allocations: 33.64 kB / 0.7358 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.007438, allocations: 315.9 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.00745, allocations: 11.98 kB / 0.7361 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.007482, allocations: 49.03 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.007535, allocations: 71.36 kB / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007536, allocations: 0 / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.171e-05/0.007608, allocations: 78.7 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.007619, allocations: 7.938 kB / 0.7363 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.007625, allocations: 4.75 kB / 0.7363 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.007633, allocations: 0 / 0.7363 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.007689, allocations: 28.55 kB / 0.7363 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.007693, allocations: 4.75 kB / 0.7363 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.007712, allocations: 0 / 0.7363 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.007717, allocations: 5.562 kB / 0.7363 GB, free: 13.14 MB / 0.7136 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 4.876e-05/0.007766, allocations: 113.8 kB / 0.7365 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.007783, allocations: 11.92 kB / 0.7365 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.007807, allocations: 8.125 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007808, allocations: 0.625 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.00781, allocations: 0.5 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007813, allocations: 0 / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.007937, allocations: 88.72 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007938, allocations: 0 / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.007987, allocations: 24.2 kB / 0.7366 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.008006, allocations: 7.938 kB / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008008, allocations: 448 / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.008013, allocations: 3.984 kB / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.008014, allocations: 0 / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.008015, allocations: 4 kB / 0.7366 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.008129, allocations: 169.9 kB / 0.7368 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.008138, allocations: 3.938 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.008181, allocations: 0 / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.008193, allocations: 4 kB / 0.7368 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.008198, allocations: 7.984 kB / 0.7368 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.668e-06/0.008208, allocations: 8.859 kB / 0.7368 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.008208, allocations: 5.375 kB / 0.7368 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001246/0.008333, allocations: 8 kB / 0.7368 GB, free: 12.64 MB / 0.7136 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 8.825e-05/0.008421, allocations: 85.45 kB / 0.7369 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.008484, allocations: 33.94 kB / 0.7369 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.008489, allocations: 4 kB / 0.7369 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.49e-05/0.008504, allocations: 22.45 kB / 0.7369 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.00863, allocations: 12 kB / 0.7369 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.009519, allocations: 203 kB / 0.7371 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.009551, allocations: 59.22 kB / 0.7372 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.009586, allocations: 12.42 kB / 0.7372 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.009639, allocations: 63.38 kB / 0.7373 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.00964, allocations: 0 / 0.7373 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.002138/0.01178, allocations: 0.7499 MB / 0.738 GB, free: 11.39 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.ref.csv","",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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 4.669984441250563]