Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001468/0.001468, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001913/0.001913, allocations: 169 kB / 24.27 MB, free: 284 kB / 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.9861/0.9861, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.877/1.877, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.875 kB / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.113e-05, allocations: 3.312 kB / 0.7871 GB, free: 11.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001831/0.001852, allocations: 1.31 MB / 0.7883 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.004231, allocations: 2.611 MB / 0.7909 GB, free: 7.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.004262, allocations: 2.094 kB / 0.7909 GB, free: 7.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.004279, allocations: 0 / 0.7909 GB, free: 7.809 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.004322, allocations: 3.984 kB / 0.7909 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.004854, allocations: 128.8 kB / 0.791 GB, free: 7.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.004923, allocations: 43.83 kB / 0.7911 GB, free: 7.637 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.004957, allocations: 4 kB / 0.7911 GB, free: 7.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.00501, allocations: 25.67 kB / 0.7911 GB, free: 7.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.005067, allocations: 19.91 kB / 0.7911 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.005079, allocations: 0 / 0.7911 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.005284, allocations: 103.7 kB / 0.7912 GB, free: 7.488 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.005298, allocations: 9 kB / 0.7912 GB, free: 7.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.005323, allocations: 15.91 kB / 0.7912 GB, free: 7.465 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.00548, allocations: 83.72 kB / 0.7913 GB, free: 7.383 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005482, allocations: 0.5312 kB / 0.7913 GB, free: 7.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005483, allocations: 0 / 0.7913 GB, free: 7.383 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005487, allocations: 2.531 kB / 0.7913 GB, free: 7.383 MB / 0.698 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.0003317/0.005819, allocations: 380.2 kB / 0.7917 GB, free: 6.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.005853, allocations: 8.031 kB / 0.7917 GB, free: 6.969 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.006039, allocations: 24.83 kB / 0.7917 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.006114, allocations: 116.5 kB / 0.7918 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.006127, allocations: 5.031 kB / 0.7918 GB, free: 6.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.006151, allocations: 16.36 kB / 0.7918 GB, free: 6.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.006284, allocations: 150.9 kB / 0.792 GB, free: 6.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.00629, allocations: 1.844 kB / 0.792 GB, free: 6.602 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006301, allocations: 8.125 kB / 0.792 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006307, allocations: 0 / 0.792 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.006337, allocations: 11.94 kB / 0.792 GB, free: 6.582 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.006784, allocations: 0.5217 MB / 0.7925 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.00689, allocations: 98.27 kB / 0.7926 GB, free: 5.883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.006919, allocations: 35.2 kB / 0.7926 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.007174, allocations: 9.031 kB / 0.7926 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.007197, allocations: 37.39 kB / 0.7927 GB, free: 5.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.007198, allocations: 0 / 0.7927 GB, free: 5.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004587/0.007657, allocations: 227 kB / 0.7929 GB, free: 5.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.007696, allocations: 107.7 kB / 0.793 GB, free: 5.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/0.007761, allocations: 165.8 kB / 0.7932 GB, free: 5.215 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.007772, allocations: 25.7 kB / 0.7932 GB, free: 5.184 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.007812, allocations: 135.7 kB / 0.7933 GB, free: 5.047 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.00783, allocations: 35.67 kB / 0.7933 GB, free: 5.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.007861, allocations: 28.66 kB / 0.7934 GB, free: 4.977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.007962, allocations: 0.4923 MB / 0.7939 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.00798, allocations: 4 kB / 0.7939 GB, free: 4.469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.008019, allocations: 70.89 kB / 0.7939 GB, free: 4.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.008088, allocations: 87.5 kB / 0.794 GB, free: 4.266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008089, allocations: 1.5 kB / 0.794 GB, free: 4.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.985e-05/0.008189, allocations: 97.52 kB / 0.7941 GB, free: 4.164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.008202, allocations: 5.25 kB / 0.7941 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.008206, allocations: 0 / 0.7941 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.008218, allocations: 4 kB / 0.7941 GB, free: 4.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.008272, allocations: 31.02 kB / 0.7941 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.008279, allocations: 7.984 kB / 0.7941 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.008302, allocations: 0 / 0.7941 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.008308, allocations: 4 kB / 0.7942 GB, free: 4.117 MB / 0.698 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.15e-05/0.008369, allocations: 160.6 kB / 0.7943 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.008405, allocations: 11.89 kB / 0.7943 GB, free: 3.938 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.008433, allocations: 11.81 kB / 0.7943 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008434, allocations: 3.938 kB / 0.7943 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.008439, allocations: 4.562 kB / 0.7943 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008442, allocations: 1.938 kB / 0.7943 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.008642, allocations: 140.6 kB / 0.7945 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.008644, allocations: 4 kB / 0.7945 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.008694, allocations: 15.94 kB / 0.7945 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008696, allocations: 0 / 0.7945 GB, free: 3.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008705, allocations: 5 kB / 0.7945 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008706, allocations: 0 / 0.7945 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.008708, allocations: 3.984 kB / 0.7945 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.0089, allocations: 458.9 kB / 0.7949 GB, free: 3.246 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.008926, allocations: 22.67 kB / 0.795 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.008937, allocations: 0 / 0.795 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.009022, allocations: 4 kB / 0.795 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.00904, allocations: 7.984 kB / 0.795 GB, free: 3.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.009044, allocations: 0 / 0.795 GB, free: 3.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.009077, allocations: 127.2 kB / 0.7951 GB, free: 3.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009077, allocations: 0 / 0.7951 GB, free: 3.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002057/0.009282, allocations: 12 kB / 0.7951 GB, free: 3.078 MB / 0.698 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 9.639e-05/0.009379, allocations: 105.5 kB / 0.7952 GB, free: 2.969 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.009473, allocations: 52.69 kB / 0.7953 GB, free: 2.914 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009474, allocations: 0 / 0.7953 GB, free: 2.914 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.009495, allocations: 28.8 kB / 0.7953 GB, free: 2.883 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.009784, allocations: 20.69 kB / 0.7953 GB, free: 2.863 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.01036, allocations: 292.6 kB / 0.7956 GB, free: 2.547 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.0104, allocations: 64 kB / 0.7956 GB, free: 2.465 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.01044, allocations: 4 kB / 0.7956 GB, free: 2.461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.01046, allocations: 12.5 kB / 0.7957 GB, free: 2.445 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.01046, allocations: 0 / 0.7957 GB, free: 2.445 MB / 0.698 GB Notification: Performance of Templates: time 0.002397/0.01286, allocations: 0.6869 MB / 0.7963 GB, free: 1.812 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.146441644988954]