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.002001/0.002001, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002589/0.002589, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.879/2.879, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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.613e-06/1.613e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.781e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002681/0.002709, allocations: 1.284 MB / 0.812 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004224/0.006933, allocations: 2.378 MB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.006964, allocations: 0 / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.006988, allocations: 1.625 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.007043, allocations: 3.938 kB / 0.8144 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.00785, allocations: 132.2 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.007952, allocations: 40.36 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.007995, allocations: 4.531 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.008081, allocations: 27.91 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.008157, allocations: 13.08 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.008176, allocations: 4 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.008535, allocations: 96.33 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.008563, allocations: 15.92 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.008609, allocations: 20.45 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.008862, allocations: 77.16 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.008867, allocations: 4 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.008868, allocations: 0 / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.008873, allocations: 0 / 0.8148 GB, free: 14.04 MB / 0.7761 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.000462/0.009335, allocations: 279.3 kB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.00938, allocations: 12.03 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.009657, allocations: 25.75 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.009776, allocations: 109.7 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.009794, allocations: 13.22 kB / 0.8152 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.009826, allocations: 4.375 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.01004, allocations: 145.9 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.01005, allocations: 1.031 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.01007, allocations: 8.125 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.01007, allocations: 0.8438 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.01012, allocations: 15.94 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.01079, allocations: 382.2 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.01096, allocations: 67.66 kB / 0.8158 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.011, allocations: 27.62 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.01103, allocations: 11.88 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.01106, allocations: 35.53 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.01106, allocations: 0 / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0008794/0.01194, allocations: 230.7 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.01204, allocations: 110.8 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01214, allocations: 99.14 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.01217, allocations: 25.7 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.01224, allocations: 92.09 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.01227, allocations: 30.8 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.01232, allocations: 21.72 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01253, allocations: 322.8 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.784e-05/0.01257, allocations: 12 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.01265, allocations: 53.08 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01277, allocations: 73.58 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01277, allocations: 1.938 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001835/0.01296, allocations: 105.5 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01297, allocations: 4 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.01299, allocations: 8 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01301, allocations: 0.6562 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.01309, allocations: 22.5 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.01311, allocations: 7.984 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.01315, allocations: 4 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.01316, allocations: 4 kB / 0.817 GB, free: 11.43 MB / 0.7761 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.0001115/0.01327, allocations: 113.8 kB / 0.8171 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.01334, allocations: 11.89 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.01338, allocations: 18.62 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01338, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.01339, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.01339, allocations: 4 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.01373, allocations: 125.3 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01373, allocations: 0 / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.13e-05/0.01382, allocations: 15.94 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.01383, allocations: 4 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01384, allocations: 4.938 kB / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01384, allocations: 0 / 0.8173 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.01385, allocations: 7.984 kB / 0.8173 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.01419, allocations: 327.6 kB / 0.8176 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.01423, allocations: 11.97 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01425, allocations: 1.031 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.01445, allocations: 8 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.01447, allocations: 7.984 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.01448, allocations: 1.219 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.485e-05/0.01453, allocations: 83.27 kB / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01453, allocations: 0 / 0.8177 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003381/0.01487, allocations: 17.16 kB / 0.8178 GB, free: 10.64 MB / 0.7761 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.000168/0.01504, allocations: 104.9 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.01518, allocations: 47.84 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01518, allocations: 0.5 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.01521, allocations: 17.19 kB / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.01573, allocations: 20.08 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.0164, allocations: 271.5 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.582e-05/0.0165, allocations: 75.23 kB / 0.8183 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.267e-05/0.01655, allocations: 8 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01659, allocations: 12.5 kB / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.01659, allocations: 0 / 0.8183 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.003703/0.02029, allocations: 0.6756 MB / 0.819 GB, free: 9.422 MB / 0.7761 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: 7.90977273392491]