Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001686/0.001686, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002397/0.002397, allocations: 217.7 kB / 22.26 MB, free: 5.082 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.425/3.425, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.001973/0.001973, allocations: 67.48 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4828, allocations: 180.2 MB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002442/0.4852, allocations: 1.292 MB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.4893, allocations: 3.36 MB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.4893, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.4893, allocations: 0 / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.4894, allocations: 7.922 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.49, allocations: 107.5 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.49, allocations: 35.86 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4901, allocations: 3.984 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.4901, allocations: 23.92 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.4902, allocations: 15.98 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.4902, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.4905, allocations: 87.72 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.4905, allocations: 8 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.4905, allocations: 15.92 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.4907, allocations: 60.14 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4907, allocations: 3.938 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4907, allocations: 3.938 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4907, allocations: 3.938 kB / 1.358 GB, free: 3.469 MB / 1.045 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.0004458/0.4911, allocations: 282.2 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4912, allocations: 8.031 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.4912, allocations: 38.75 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4913, allocations: 4.938 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.4914, allocations: 106.5 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4915, allocations: 384 / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4915, allocations: 12.33 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4916, allocations: 57.59 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4917, allocations: 4 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4917, allocations: 8 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4917, allocations: 0 / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.111e-05/0.4917, allocations: 23.91 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.4919, allocations: 132.8 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.492, allocations: 46.56 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.4921, allocations: 12.84 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.4927, allocations: 254.1 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4927, allocations: 38.5 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4927, allocations: 0 / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006011/0.4933, allocations: 229.5 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4933, allocations: 59.41 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.4934, allocations: 105.8 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.4935, allocations: 25.7 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.4935, allocations: 84.09 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4935, allocations: 35.67 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.4936, allocations: 25.72 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4937, allocations: 310.8 kB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.4938, allocations: 15.98 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.4938, allocations: 61.08 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.4939, allocations: 77.22 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4939, allocations: 4 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001429/0.4941, allocations: 97.48 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4941, allocations: 4 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4941, allocations: 4 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4941, allocations: 0 / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.4942, allocations: 23.98 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4942, allocations: 0 / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.4942, allocations: 11.94 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4943, allocations: 8.125 kB / 1.36 GB, free: 1.027 MB / 1.045 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 8.734e-05/0.4943, allocations: 117.7 kB / 1.36 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.4944, allocations: 11.92 kB / 1.36 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.4944, allocations: 8.062 kB / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4944, allocations: 0 / 1.36 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4944, allocations: 4 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4944, allocations: 3.938 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4946, allocations: 148.8 kB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4946, allocations: 0 / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.4947, allocations: 16 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4947, allocations: 0 / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4947, allocations: 4 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4947, allocations: 3.984 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4947, allocations: 0 / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.4949, allocations: 171.4 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.495, allocations: 11.97 kB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.495, allocations: 0 / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4951, allocations: 12 kB / 1.36 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.4951, allocations: 7.922 kB / 1.36 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4951, allocations: 4 kB / 1.36 GB, free: 448 kB / 1.045 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.4951, allocations: 75.28 kB / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4951, allocations: 0 / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.00023/0.4954, allocations: 16 kB / 1.36 GB, free: 356 kB / 1.045 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.0005142/0.4959, allocations: 0.7085 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.496, allocations: 39.97 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.496, allocations: 0 / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.496, allocations: 19.92 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4963, allocations: 17.97 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4979, allocations: 1.528 MB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.4983, allocations: 0.6885 MB / 1.363 GB, free: 13.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.4983, allocations: 3.984 kB / 1.363 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.4984, allocations: 15.44 kB / 1.363 GB, free: 13.17 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4984, allocations: 4 kB / 1.363 GB, free: 13.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.5288, allocations: 1.817 MB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.61, allocations: 10.31 kB / 1.365 GB, free: 11.47 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.81175566604361]