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.0007582/0.0007582, 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.000795/0.000795, allocations: 170.3 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.8786/0.8786, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.655/1.655, allocations: 377.9 MB / 0.6221 GB, free: 8.684 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 2.084e-06/2.084e-06, allocations: 0 / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.403e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002137/0.002161, allocations: 1.282 MB / 0.9822 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.005398, allocations: 3.067 MB / 0.9852 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.005432, allocations: 0 / 0.9852 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.005451, allocations: 3.938 kB / 0.9852 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.005496, allocations: 3.938 kB / 0.9852 GB, free: 14.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.005946, allocations: 111.4 kB / 0.9853 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.006013, allocations: 39.91 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.006047, allocations: 4 kB / 0.9853 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.006099, allocations: 31.84 kB / 0.9853 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.006158, allocations: 7.984 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00617, allocations: 4 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.006326, allocations: 71.73 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.006338, allocations: 4 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.006358, allocations: 15.98 kB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.006491, allocations: 71.78 kB / 0.9855 GB, free: 13.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006493, allocations: 3.938 kB / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.006494, allocations: 0 / 0.9855 GB, free: 13.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.006499, allocations: 0 / 0.9855 GB, free: 13.9 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.000303/0.006802, allocations: 274.3 kB / 0.9858 GB, free: 13.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.006838, allocations: 8.031 kB / 0.9858 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.006866, allocations: 34.75 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.006932, allocations: 4.938 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/0.006998, allocations: 117.7 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.007006, allocations: 4.375 kB / 0.9859 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.007028, allocations: 8.375 kB / 0.9859 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.007151, allocations: 127.3 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.007158, allocations: 192 / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.007169, allocations: 11.94 kB / 0.9861 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.007175, allocations: 3.984 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.007215, allocations: 15.92 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.007331, allocations: 140.7 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.344e-05/0.007405, allocations: 54.48 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.007426, allocations: 12.86 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.007831, allocations: 249.8 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.007853, allocations: 30.56 kB / 0.9866 GB, free: 12.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.007854, allocations: 3.938 kB / 0.9866 GB, free: 12.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004047/0.008259, allocations: 229.5 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.008285, allocations: 55.41 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.008334, allocations: 97.84 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.008344, allocations: 29.7 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.008375, allocations: 88.09 kB / 0.987 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.008389, allocations: 23.75 kB / 0.9871 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.008419, allocations: 33.7 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.00849, allocations: 318.8 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.00851, allocations: 15.98 kB / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.03e-05/0.008551, allocations: 53.08 kB / 0.9875 GB, free: 11.63 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.418e-05/0.008615, allocations: 77.03 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.008616, allocations: 0 / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.881e-05/0.008704, allocations: 97.5 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.008716, allocations: 8 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008722, allocations: 0 / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.008732, allocations: 0 / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.008779, allocations: 24.42 kB / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008784, allocations: 0 / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.008805, allocations: 11.94 kB / 0.9877 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008811, allocations: 8 kB / 0.9877 GB, free: 11.38 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.446e-05/0.008865, allocations: 121.7 kB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.008878, allocations: 128 / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.008898, allocations: 12.12 kB / 0.9878 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008901, allocations: 7.984 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008905, allocations: 0 / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.008908, allocations: 0 / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.009095, allocations: 140.7 kB / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009097, allocations: 0 / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.00915, allocations: 15.98 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009153, allocations: 4 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.00916, allocations: 4 kB / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.009161, allocations: 0 / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009162, allocations: 288 / 0.988 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.009306, allocations: 187.3 kB / 0.9882 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.009327, allocations: 8.078 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.009339, allocations: 4 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.598e-05/0.009395, allocations: 0 / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.009409, allocations: 8.031 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.009415, allocations: 4 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.523e-05/0.00944, allocations: 79.28 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.00944, allocations: 0 / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001553/0.009595, allocations: 12 kB / 0.9883 GB, free: 10.72 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.0003245/0.00992, allocations: 0.7163 MB / 0.989 GB, free: 9.973 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.01049, allocations: 43.91 kB / 0.989 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01049, allocations: 0 / 0.989 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.947e-05/0.01051, allocations: 11.94 kB / 0.989 GB, free: 9.918 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01072, allocations: 8 kB / 0.989 GB, free: 9.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.0117, allocations: 1.467 MB / 0.9905 GB, free: 8.332 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.0118, allocations: 71.3 kB / 0.9905 GB, free: 8.242 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.01183, allocations: 4.062 kB / 0.9905 GB, free: 8.238 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.01186, allocations: 20.48 kB / 0.9906 GB, free: 8.219 MB / 0.948 GB Notification: Performance of SimCode: time 3.6e-07/0.01186, allocations: 0 / 0.9906 GB, free: 8.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.02623, allocations: 2.335 MB / 0.9928 GB, free: 6.027 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/6.342, allocations: 6.578 kB / 0.9928 GB, free: 6.023 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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(hLiqSym) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.358913659118116]