Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001386/0.001386, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001074/0.001074, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.049/1.049, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.388/2.388, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.742e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002197/0.002225, allocations: 1.332 MB / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.004748, allocations: 2.581 MB / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.004801, allocations: 0 / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.004829, allocations: 0 / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.004895, allocations: 3.938 kB / 0.8935 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.005635, allocations: 131.3 kB / 0.8937 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.005739, allocations: 47.77 kB / 0.8937 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.005791, allocations: 7.984 kB / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.005881, allocations: 27.91 kB / 0.8937 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.005961, allocations: 11.98 kB / 0.8938 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.005977, allocations: 0 / 0.8938 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.00627, allocations: 111.6 kB / 0.8939 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.006292, allocations: 15.97 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.006317, allocations: 8 kB / 0.8939 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.006541, allocations: 79.78 kB / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006544, allocations: 0 / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006545, allocations: 0 / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.006552, allocations: 0 / 0.894 GB, free: 5.434 MB / 0.8542 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.000483/0.007035, allocations: 384.1 kB / 0.8943 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.007091, allocations: 12.62 kB / 0.8943 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.007321, allocations: 28.75 kB / 0.8944 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.007424, allocations: 108.6 kB / 0.8945 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.007438, allocations: 4.375 kB / 0.8945 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.007469, allocations: 12.38 kB / 0.8945 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.007655, allocations: 154.4 kB / 0.8946 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.007665, allocations: 192 / 0.8946 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.007677, allocations: 4.125 kB / 0.8946 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.007683, allocations: 0 / 0.8946 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.007714, allocations: 11.94 kB / 0.8946 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.008304, allocations: 0.5061 MB / 0.8951 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.00845, allocations: 93.11 kB / 0.8952 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.008485, allocations: 43.14 kB / 0.8953 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.008498, allocations: 4 kB / 0.8953 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.008536, allocations: 41.33 kB / 0.8953 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.873e-06/0.008538, allocations: 0 / 0.8953 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004845/0.009023, allocations: 225.6 kB / 0.8955 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.009073, allocations: 110.8 kB / 0.8956 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.009144, allocations: 157.9 kB / 0.8958 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.009155, allocations: 25.95 kB / 0.8958 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.009202, allocations: 134.8 kB / 0.8959 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.009222, allocations: 31.73 kB / 0.896 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.009256, allocations: 31.36 kB / 0.896 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.00938, allocations: 0.4884 MB / 0.8965 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.009395, allocations: 11.94 kB / 0.8965 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.009435, allocations: 58.11 kB / 0.8965 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.0095, allocations: 90.53 kB / 0.8966 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009502, allocations: 4 kB / 0.8966 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.962e-05/0.009591, allocations: 89.48 kB / 0.8967 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.009606, allocations: 4 kB / 0.8967 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.009613, allocations: 4 kB / 0.8967 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.009626, allocations: 0 / 0.8967 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.00968, allocations: 19.94 kB / 0.8967 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.009685, allocations: 7.984 kB / 0.8968 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.009708, allocations: 4 kB / 0.8968 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.009713, allocations: 4 kB / 0.8968 GB, free: 2.203 MB / 0.8542 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 7.063e-05/0.009783, allocations: 164.7 kB / 0.8969 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.00982, allocations: 15.83 kB / 0.8969 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.009852, allocations: 11.81 kB / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.009854, allocations: 0 / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009856, allocations: 0 / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00986, allocations: 7.938 kB / 0.897 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.01008, allocations: 113.2 kB / 0.8971 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.01008, allocations: 4.062 kB / 0.8971 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.01013, allocations: 19.98 kB / 0.8971 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01013, allocations: 0 / 0.8971 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01015, allocations: 11.94 kB / 0.8971 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01015, allocations: 0 / 0.8971 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01015, allocations: 0 / 0.8971 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.01082, allocations: 462.2 kB / 0.8975 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01084, allocations: 3.984 kB / 0.8975 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01086, allocations: 11.92 kB / 0.8976 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.01094, allocations: 0 / 0.8976 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.01096, allocations: 8 kB / 0.8976 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01097, allocations: 7.984 kB / 0.8976 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.011, allocations: 119.2 kB / 0.8977 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.011, allocations: 0 / 0.8977 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001904/0.01119, allocations: 20 kB / 0.8977 GB, free: 1.18 MB / 0.8542 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.0001187/0.01131, allocations: 103.2 kB / 0.8978 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.0114, allocations: 51.53 kB / 0.8978 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0114, allocations: 0 / 0.8978 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.966e-05/0.01142, allocations: 23.62 kB / 0.8979 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.0117, allocations: 16.36 kB / 0.8979 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.01231, allocations: 297.7 kB / 0.8982 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.01236, allocations: 59.34 kB / 0.8982 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01239, allocations: 8 kB / 0.8982 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.01245, allocations: 86.19 kB / 0.8983 GB, free: 480 kB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.01245, allocations: 0 / 0.8983 GB, free: 480 kB / 0.8542 GB Notification: Performance of Templates: time 0.002566/0.01502, allocations: 0.7504 MB / 0.899 GB, free: 15.77 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.371106033213437]