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.0009925/0.0009925, allocations: 73.97 kB / 20.66 MB, free: 3.844 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: 173.4 kB / 24.06 MB, free: 452 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.9266/0.9266, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.228/2.228, allocations: 429.5 MB / 0.6743 GB, free: 3.852 MB / 0.6355 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.284e-06/2.284e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.208e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002194/0.002226, allocations: 1.33 MB / 0.8807 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.004719, allocations: 2.582 MB / 0.8832 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.004756, allocations: 0 / 0.8832 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.004776, allocations: 7.922 kB / 0.8832 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.004823, allocations: 7.922 kB / 0.8832 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.005361, allocations: 133.3 kB / 0.8833 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.005437, allocations: 35.84 kB / 0.8834 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.005472, allocations: 12.7 kB / 0.8834 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.00552, allocations: 19.98 kB / 0.8834 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.005576, allocations: 13.62 kB / 0.8834 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.00559, allocations: 4 kB / 0.8834 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.00578, allocations: 111.6 kB / 0.8835 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.005797, allocations: 11.92 kB / 0.8835 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.005815, allocations: 13.17 kB / 0.8835 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.005968, allocations: 79.78 kB / 0.8836 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005971, allocations: 0 / 0.8836 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005971, allocations: 4 kB / 0.8836 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.005975, allocations: 0 / 0.8836 GB, free: 1.715 MB / 0.8386 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.0003306/0.006305, allocations: 392.4 kB / 0.884 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.006349, allocations: 8.031 kB / 0.884 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.006508, allocations: 20.81 kB / 0.884 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.006589, allocations: 112.6 kB / 0.8841 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.006604, allocations: 4.375 kB / 0.8841 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.006627, allocations: 8.359 kB / 0.8841 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.00679, allocations: 154.3 kB / 0.8843 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.0068, allocations: 192 / 0.8843 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.006814, allocations: 12.12 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.006824, allocations: 4 kB / 0.8843 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.006858, allocations: 11.92 kB / 0.8843 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.007328, allocations: 0.4944 MB / 0.8848 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.00744, allocations: 101.2 kB / 0.8849 GB, free: 244 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.007463, allocations: 27.12 kB / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.00747, allocations: 0 / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.007498, allocations: 53.34 kB / 0.885 GB, free: 140 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.007499, allocations: 4 kB / 0.885 GB, free: 136 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004439/0.007943, allocations: 221.6 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.007996, allocations: 106.8 kB / 0.8853 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.008073, allocations: 161.9 kB / 0.8854 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.008085, allocations: 25.7 kB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.008146, allocations: 138.8 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.008166, allocations: 23.78 kB / 0.8856 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.008208, allocations: 39.31 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.008366, allocations: 496.4 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.008378, allocations: 11.98 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.008424, allocations: 74.09 kB / 0.8862 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.008494, allocations: 82.48 kB / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.008495, allocations: 0 / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.301e-05/0.008588, allocations: 89.48 kB / 0.8864 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.008602, allocations: 12.12 kB / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008607, allocations: 0 / 0.8864 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008621, allocations: 4 kB / 0.8864 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.008675, allocations: 23.98 kB / 0.8864 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.008681, allocations: 3.938 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.008703, allocations: 4 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.008709, allocations: 4 kB / 0.8864 GB, free: 14.48 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 8.3e-05/0.008792, allocations: 156.6 kB / 0.8866 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.008834, allocations: 15.89 kB / 0.8866 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.008864, allocations: 11.8 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.008866, allocations: 4 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.008871, allocations: 4 kB / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008876, allocations: 0 / 0.8866 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.009077, allocations: 113.2 kB / 0.8867 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.009078, allocations: 0 / 0.8867 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.009127, allocations: 19.92 kB / 0.8867 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.009131, allocations: 4 kB / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.009143, allocations: 7.938 kB / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009144, allocations: 0 / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009145, allocations: 0 / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.009403, allocations: 458.2 kB / 0.8872 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.009429, allocations: 12 kB / 0.8872 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.009442, allocations: 11.88 kB / 0.8872 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.009523, allocations: 4 kB / 0.8872 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.009542, allocations: 3.984 kB / 0.8872 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.009548, allocations: 4 kB / 0.8872 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.009589, allocations: 123.2 kB / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009589, allocations: 0 / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001965/0.009785, allocations: 16 kB / 0.8873 GB, free: 13.46 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.0001146/0.0099, allocations: 115.2 kB / 0.8875 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.009986, allocations: 39.61 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009988, allocations: 3.938 kB / 0.8875 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.01001, allocations: 35.61 kB / 0.8875 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.0103, allocations: 4 kB / 0.8875 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.01087, allocations: 293.9 kB / 0.8878 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.01092, allocations: 56.02 kB / 0.8879 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.01095, allocations: 11.98 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.01101, allocations: 82.2 kB / 0.888 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01101, allocations: 0 / 0.888 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of Templates: time 0.002676/0.01369, allocations: 0.7625 MB / 0.8887 GB, free: 12.05 MB / 0.8542 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.7990226917900145]