Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0008031/0.0008031, 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.0008206/0.0008206, allocations: 169.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.8633/0.8633, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.67/1.67, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.008e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001632/0.001652, allocations: 1.278 MB / 0.9822 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.003767, allocations: 2.374 MB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.003796, allocations: 3.938 kB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.003813, allocations: 4 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.003855, allocations: 7.969 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.00436, allocations: 135.2 kB / 0.9846 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.004428, allocations: 35.86 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.004462, allocations: 7.984 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.004515, allocations: 27.91 kB / 0.9847 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.004565, allocations: 19.91 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.004578, allocations: 4 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.004795, allocations: 95.8 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.00481, allocations: 7.938 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.004835, allocations: 15.98 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.005002, allocations: 79.77 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005005, allocations: 4 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.005007, allocations: 3.938 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.005011, allocations: 0 / 0.9849 GB, free: 14.5 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.0003275/0.005338, allocations: 272.8 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005376, allocations: 16.03 kB / 0.9852 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.005405, allocations: 38.73 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.005538, allocations: 8.938 kB / 0.9853 GB, free: 14.13 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.005604, allocations: 109.8 kB / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.005618, allocations: 384 / 0.9854 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.005642, allocations: 8.375 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.005773, allocations: 153.9 kB / 0.9855 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005781, allocations: 4.125 kB / 0.9855 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.005791, allocations: 3.938 kB / 0.9855 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.005796, allocations: 0 / 0.9855 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.00583, allocations: 15.98 kB / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.006273, allocations: 408.3 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.006373, allocations: 75.59 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.006396, allocations: 18.7 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.006407, allocations: 8.078 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.006426, allocations: 38.5 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.006427, allocations: 0 / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004599/0.006887, allocations: 233.3 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.006927, allocations: 106.8 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.006976, allocations: 101.8 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.006986, allocations: 25.7 kB / 0.9865 GB, free: 12.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.00702, allocations: 88.09 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.00704, allocations: 31.73 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.007071, allocations: 25.72 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.007146, allocations: 322.7 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.007169, allocations: 12 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.007205, allocations: 53.14 kB / 0.987 GB, free: 12.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.007269, allocations: 77.14 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.00727, allocations: 0 / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.965e-05/0.007359, allocations: 93.5 kB / 0.9872 GB, free: 11.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007373, allocations: 8 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.007378, allocations: 0 / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.007391, allocations: 4 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.00744, allocations: 24.06 kB / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.007446, allocations: 0 / 0.9872 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.007471, allocations: 11.98 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.007476, allocations: 4 kB / 0.9872 GB, free: 11.82 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 6.395e-05/0.00754, allocations: 125.7 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.007573, allocations: 7.953 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.007593, allocations: 7.812 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007595, allocations: 0 / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.007599, allocations: 4 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007602, allocations: 0 / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.007816, allocations: 152.7 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.007819, allocations: 8.062 kB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.007865, allocations: 16 kB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007866, allocations: 0.6094 kB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.007872, allocations: 0 / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007874, allocations: 4 kB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007876, allocations: 3.984 kB / 0.9875 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.008046, allocations: 322 kB / 0.9878 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.008073, allocations: 11.98 kB / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.008083, allocations: 0 / 0.9879 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.008178, allocations: 8 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.008193, allocations: 20 kB / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.008198, allocations: 3.938 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.514e-05/0.008223, allocations: 83.28 kB / 0.988 GB, free: 10.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008223, allocations: 0 / 0.988 GB, free: 10.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002034/0.008426, allocations: 12 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0003598/0.008786, allocations: 0.8639 MB / 0.9888 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.008883, allocations: 56.08 kB / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008884, allocations: 0 / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.008902, allocations: 15.94 kB / 0.9889 GB, free: 10.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.009227, allocations: 8.219 kB / 0.9889 GB, free: 10.01 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.01028, allocations: 1.645 MB / 0.9905 GB, free: 8.246 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.553e-05/0.01033, allocations: 67.34 kB / 0.9906 GB, free: 8.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.01037, allocations: 12.05 kB / 0.9906 GB, free: 8.148 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.0104, allocations: 16.5 kB / 0.9906 GB, free: 8.133 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/0.0104, allocations: 0 / 0.9906 GB, free: 8.133 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.025, allocations: 2.366 MB / 0.9929 GB, free: 5.957 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/6.455, allocations: 2.578 kB / 0.9929 GB, free: 5.957 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.3163473745808]