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.0007841/0.0007841, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00113/0.00113, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8463/0.8463, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.676/1.676, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.9809 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.138e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001717/0.001738, allocations: 1.284 MB / 0.9822 GB, free: 1.367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.004404, allocations: 3.067 MB / 0.9852 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.004435, allocations: 4 kB / 0.9852 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.004455, allocations: 0 / 0.9852 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.0045, allocations: 11.92 kB / 0.9852 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.004982, allocations: 111.4 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.005059, allocations: 43.83 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.005096, allocations: 4 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.005153, allocations: 23.92 kB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.005213, allocations: 15.97 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.005225, allocations: 4 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.005422, allocations: 67.73 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.005435, allocations: 12 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.005459, allocations: 11.98 kB / 0.9855 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.00562, allocations: 75.72 kB / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005622, allocations: 0 / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005623, allocations: 0 / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005628, allocations: 0 / 0.9855 GB, free: 13.91 MB / 0.948 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.0003189/0.005947, allocations: 270.3 kB / 0.9858 GB, free: 13.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.005986, allocations: 12.03 kB / 0.9858 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.006016, allocations: 30.75 kB / 0.9858 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.006095, allocations: 8.891 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.004e-05/0.006165, allocations: 117.7 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.006175, allocations: 4.375 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.006195, allocations: 4.375 kB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.006319, allocations: 131.3 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.006325, allocations: 192 / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.006336, allocations: 3.938 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006341, allocations: 0 / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.006387, allocations: 23.97 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.006508, allocations: 128.8 kB / 0.9862 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.006585, allocations: 54.44 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.006607, allocations: 25.03 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/0.007045, allocations: 249.8 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.007068, allocations: 34.56 kB / 0.9866 GB, free: 12.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.007069, allocations: 0 / 0.9866 GB, free: 12.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004517/0.00752, allocations: 217.2 kB / 0.9868 GB, free: 12.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.007552, allocations: 55.41 kB / 0.9868 GB, free: 12.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.007609, allocations: 101.8 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.007621, allocations: 29.69 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.007657, allocations: 88.03 kB / 0.987 GB, free: 12.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.007673, allocations: 31.88 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.007707, allocations: 29.7 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.007784, allocations: 326.7 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.007804, allocations: 11.98 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.007845, allocations: 53.14 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.007907, allocations: 65.09 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007909, allocations: 4 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.378e-05/0.008003, allocations: 101.5 kB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.008014, allocations: 4 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.00802, allocations: 4 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008031, allocations: 0 / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.008082, allocations: 23.92 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.008089, allocations: 4.438 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.00811, allocations: 0 / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.008115, allocations: 7.938 kB / 0.9877 GB, free: 11.4 MB / 0.948 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.902e-05/0.008175, allocations: 125.8 kB / 0.9878 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.008191, allocations: 4 kB / 0.9878 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.008213, allocations: 12.12 kB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008214, allocations: 0 / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008218, allocations: 0 / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008222, allocations: 7.984 kB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.008382, allocations: 148.6 kB / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008383, allocations: 0 / 0.988 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.008432, allocations: 15.98 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008434, allocations: 0 / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.008439, allocations: 0 / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008441, allocations: 8 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008442, allocations: 0 / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.008577, allocations: 171.4 kB / 0.9882 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.008598, allocations: 11.97 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.008608, allocations: 0 / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.861e-05/0.008666, allocations: 8 kB / 0.9882 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.008681, allocations: 7.922 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008686, allocations: 4 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.008709, allocations: 79.66 kB / 0.9883 GB, free: 10.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008709, allocations: 0 / 0.9883 GB, free: 10.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001677/0.008877, allocations: 12 kB / 0.9883 GB, free: 10.73 MB / 0.948 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.0003083/0.009185, allocations: 0.7125 MB / 0.989 GB, free: 9.988 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.009284, allocations: 43.89 kB / 0.989 GB, free: 9.945 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009286, allocations: 4 kB / 0.989 GB, free: 9.941 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.009301, allocations: 12 kB / 0.989 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.009522, allocations: 6.344 kB / 0.989 GB, free: 9.926 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009759/0.0105, allocations: 1.469 MB / 0.9905 GB, free: 8.344 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.01054, allocations: 67.3 kB / 0.9905 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.01058, allocations: 8.062 kB / 0.9905 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.01061, allocations: 16.48 kB / 0.9906 GB, free: 8.234 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.01061, allocations: 0 / 0.9906 GB, free: 8.234 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02555, allocations: 2.339 MB / 0.9928 GB, free: 6.035 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.356/6.381, allocations: 5.391 kB / 0.9928 GB, free: 6.035 MB / 0.948 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 420.0] 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: 10.229995171539485]