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.0009711/0.0009711, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001037/0.001037, allocations: 169 kB / 23.02 MB, free: 1.547 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.9806/0.9806, allocations: 177.1 MB / 203.4 MB, free: 5.609 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 1.977/1.977, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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 1.663e-06/1.663e-06, allocations: 1.094 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.295e-05, allocations: 5.125 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001928/0.001951, allocations: 1.321 MB / 0.8794 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.00441, allocations: 2.601 MB / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.004444, allocations: 0 / 0.882 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.004468, allocations: 3.938 kB / 0.882 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.00452, allocations: 8.672 kB / 0.882 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.005117, allocations: 130.8 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.005196, allocations: 35.86 kB / 0.8821 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.005231, allocations: 4 kB / 0.8822 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.005288, allocations: 31.89 kB / 0.8822 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.005349, allocations: 19.97 kB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.005361, allocations: 0 / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.005586, allocations: 108.2 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.0056, allocations: 8 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.005625, allocations: 16.5 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.005794, allocations: 84.59 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005796, allocations: 0 / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005797, allocations: 0.8438 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.005801, allocations: 0 / 0.8824 GB, free: 1.977 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.0003525/0.006154, allocations: 382 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.006193, allocations: 8.031 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.006376, allocations: 24.8 kB / 0.8828 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.006454, allocations: 112.6 kB / 0.8829 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.006466, allocations: 8.375 kB / 0.8829 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.006491, allocations: 12.31 kB / 0.8829 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.00664, allocations: 158.3 kB / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.006647, allocations: 192 / 0.8831 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006658, allocations: 4.125 kB / 0.8831 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006667, allocations: 0 / 0.8831 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.006701, allocations: 15.92 kB / 0.8831 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.007192, allocations: 0.5172 MB / 0.8836 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.007307, allocations: 97.17 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.007335, allocations: 35.11 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.007342, allocations: 3.938 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.00737, allocations: 45.41 kB / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.007371, allocations: 0 / 0.8838 GB, free: 380 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.007847, allocations: 237.5 kB / 0.884 GB, free: 104 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.007899, allocations: 106.8 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.007968, allocations: 157.9 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.007983, allocations: 29.95 kB / 0.8843 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.00804, allocations: 138.8 kB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.008061, allocations: 31.73 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.008099, allocations: 31.38 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.008215, allocations: 0.4884 MB / 0.885 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.008235, allocations: 8 kB / 0.885 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.008276, allocations: 66.11 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.008345, allocations: 85.98 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.008346, allocations: 4 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001007/0.008446, allocations: 97.45 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.008461, allocations: 7.984 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008467, allocations: 4 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.008479, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.008534, allocations: 19.94 kB / 0.8852 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.00854, allocations: 7.938 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.008562, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.008568, allocations: 4 kB / 0.8852 GB, free: 14.7 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 0.0003854/0.008953, allocations: 168.7 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.008993, allocations: 11.94 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.009024, allocations: 11.81 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.009026, allocations: 0.6094 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.009031, allocations: 0 / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.009037, allocations: 4 kB / 0.8854 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.00923, allocations: 128.6 kB / 0.8856 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.009235, allocations: 4 kB / 0.8856 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.009286, allocations: 23.86 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.009288, allocations: 0 / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.009298, allocations: 8 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009299, allocations: 0 / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.009301, allocations: 3.984 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.009543, allocations: 466.2 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.009573, allocations: 15.89 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.009587, allocations: 3.984 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.009669, allocations: 4 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.009688, allocations: 8.062 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.009694, allocations: 4 kB / 0.8861 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.00973, allocations: 127.2 kB / 0.8862 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00973, allocations: 4 kB / 0.8862 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002099/0.00994, allocations: 16 kB / 0.8862 GB, free: 13.64 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 9.42e-05/0.01003, allocations: 103.2 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.01014, allocations: 55.53 kB / 0.8864 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01014, allocations: 0 / 0.8864 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.01016, allocations: 19.69 kB / 0.8864 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01043, allocations: 20.3 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.01102, allocations: 285.6 kB / 0.8867 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.01107, allocations: 60 kB / 0.8867 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.01111, allocations: 8 kB / 0.8867 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.01113, allocations: 12.5 kB / 0.8868 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.01113, allocations: 0 / 0.8868 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.00272/0.01386, allocations: 0.7365 MB / 0.8875 GB, free: 12.34 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.3082575290463865]