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.000823/0.000823, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0009269/0.0009269, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8934/0.8934, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.75/1.75, allocations: 377.8 MB / 0.6228 GB, free: 8.688 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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.968e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001439/0.001459, allocations: 1.278 MB / 0.9834 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.003486, allocations: 2.374 MB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.003515, allocations: 0 / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.003535, allocations: 7.922 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.003577, allocations: 7.938 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.004074, allocations: 127.3 kB / 0.9859 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.00414, allocations: 39.84 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.004173, allocations: 3.984 kB / 0.9859 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.004226, allocations: 27.91 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.004278, allocations: 11.98 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.004288, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.004484, allocations: 111.7 kB / 0.9861 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.004496, allocations: 7.984 kB / 0.9861 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.004517, allocations: 15.98 kB / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.004667, allocations: 83.7 kB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004669, allocations: 0 / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.004671, allocations: 4 kB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.004674, allocations: 3.938 kB / 0.9862 GB, free: 14.02 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.0003057/0.00498, allocations: 274.2 kB / 0.9864 GB, free: 13.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.005013, allocations: 12.03 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.005147, allocations: 12.94 kB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.005211, allocations: 105.8 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005224, allocations: 16.3 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005245, allocations: 4.375 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.005379, allocations: 141.9 kB / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005385, allocations: 192 / 0.9867 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005397, allocations: 8.125 kB / 0.9867 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005402, allocations: 0 / 0.9867 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.005438, allocations: 15.92 kB / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.005832, allocations: 381 kB / 0.9871 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.005932, allocations: 71.66 kB / 0.9872 GB, free: 12.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.005953, allocations: 22.7 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.005965, allocations: 11.88 kB / 0.9872 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.005984, allocations: 34.64 kB / 0.9872 GB, free: 12.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.005986, allocations: 3.984 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0004335/0.006419, allocations: 237 kB / 0.9875 GB, free: 12.49 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.006457, allocations: 102.8 kB / 0.9876 GB, free: 12.36 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.006504, allocations: 102.1 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.006514, allocations: 33.7 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.006546, allocations: 84.09 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.006563, allocations: 31.73 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.006592, allocations: 25.72 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.006663, allocations: 318.8 kB / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.006681, allocations: 8 kB / 0.9881 GB, free: 11.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.006717, allocations: 61.02 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.006777, allocations: 77.08 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.006778, allocations: 0 / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001148/0.006892, allocations: 101.4 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.006903, allocations: 4 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006907, allocations: 0 / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006919, allocations: 4 kB / 0.9884 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.006971, allocations: 20 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.006977, allocations: 7.938 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.006998, allocations: 0 / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.007003, allocations: 8.125 kB / 0.9884 GB, free: 11.42 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.064e-05/0.007053, allocations: 117.8 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.007082, allocations: 7.938 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.007103, allocations: 7.812 kB / 0.9885 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007105, allocations: 4 kB / 0.9885 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.007109, allocations: 8 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.007112, allocations: 0 / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.007293, allocations: 125.9 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.007294, allocations: 0 / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.007341, allocations: 27.86 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007342, allocations: 7.938 kB / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.007349, allocations: 0 / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00735, allocations: 4 kB / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007351, allocations: 0 / 0.9887 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.007504, allocations: 322.1 kB / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.007528, allocations: 11.98 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.00754, allocations: 8.016 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.007633, allocations: 8 kB / 0.989 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.007648, allocations: 7.938 kB / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.007654, allocations: 3.984 kB / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.007676, allocations: 83.28 kB / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007676, allocations: 0 / 0.9891 GB, free: 10.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002063/0.007882, allocations: 16 kB / 0.9891 GB, free: 10.61 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 8.629e-05/0.007968, allocations: 107.2 kB / 0.9892 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.26e-05/0.008051, allocations: 43.98 kB / 0.9893 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.008054, allocations: 4 kB / 0.9893 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.008071, allocations: 24.23 kB / 0.9893 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.008333, allocations: 11.94 kB / 0.9893 GB, free: 10.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.00871, allocations: 284.5 kB / 0.9896 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.008765, allocations: 75.28 kB / 0.9897 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.008787, allocations: 12.5 kB / 0.9897 GB, free: 9.992 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.008787, allocations: 0 / 0.9897 GB, free: 9.992 MB / 0.948 GB Notification: Performance of Templates: time 0.001436/0.01022, allocations: 0.8116 MB / 0.9905 GB, free: 9.188 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 6.520139780826867]