Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 151.6 MB / 1.176 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004943/0.2989, allocations: 3.288 MB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.299, allocations: 51.8 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.2991, allocations: 3.938 kB / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.539e-05/0.2992, allocations: 0 / 1.179 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.2993, allocations: 7.922 kB / 1.179 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.2998, allocations: 195.1 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.2999, allocations: 31.92 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.2999, allocations: 0 / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.3, allocations: 27.84 kB / 1.179 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.3, allocations: 11.94 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3001, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.3004, allocations: 175.5 kB / 1.18 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.3005, allocations: 11.98 kB / 1.18 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.3005, allocations: 8 kB / 1.18 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3008, allocations: 135.6 kB / 1.18 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3008, allocations: 0 / 1.18 GB, free: 1.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.266e-06/0.3008, allocations: 4 kB / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3008, allocations: 0 / 1.18 GB, free: 1.918 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000431/0.3013, allocations: 347.3 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3013, allocations: 8.031 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3013, allocations: 4.922 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3015, allocations: 168.4 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.3015, allocations: 26.27 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.3016, allocations: 384 / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3017, allocations: 49.62 kB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3017, allocations: 0 / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3017, allocations: 0 / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.3018, allocations: 3.984 kB / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.3018, allocations: 23.86 kB / 1.18 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.3025, allocations: 0.5872 MB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.3025, allocations: 14.58 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.3026, allocations: 8.922 kB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.3029, allocations: 344.4 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3029, allocations: 30.56 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 3.125e-06/0.3029, allocations: 0 / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.3031, allocations: 41.69 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3031, allocations: 55.41 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.651e-05/0.3032, allocations: 97.8 kB / 1.181 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3032, allocations: 29.7 kB / 1.181 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.3033, allocations: 88.09 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.383e-06/0.3033, allocations: 3.938 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3034, allocations: 21.66 kB / 1.182 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3035, allocations: 326.9 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.3035, allocations: 4 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.3036, allocations: 13.72 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.3036, allocations: 25.64 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3036, allocations: 4 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.105e-05/0.3037, allocations: 49.62 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.3037, allocations: 8.062 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3037, allocations: 0 / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3038, allocations: 7.938 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.174e-05/0.3038, allocations: 4 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3038, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.3038, allocations: 0 / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3038, allocations: 4 kB / 1.182 GB, free: 15.17 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.461e-05/0.3039, allocations: 109.8 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.304, allocations: 4 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.3041, allocations: 124.9 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-05/0.3042, allocations: 184.2 kB / 1.182 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-05/0.3043, allocations: 180.3 kB / 1.183 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-05/0.3044, allocations: 184.2 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.3047, allocations: 409.2 kB / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/0.3047, allocations: 108.9 kB / 1.183 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.3048, allocations: 101 kB / 1.183 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.3048, allocations: 180.3 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.3049, allocations: 184.2 kB / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-05/0.305, allocations: 180.3 kB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-05/0.3051, allocations: 188.2 kB / 1.184 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3053, allocations: 311.7 kB / 1.184 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.3054, allocations: 182.1 kB / 1.185 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.3055, allocations: 180.2 kB / 1.185 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3057, allocations: 112.9 kB / 1.185 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.3058, allocations: 180.3 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.3058, allocations: 104.9 kB / 1.185 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3059, allocations: 91.27 kB / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3059, allocations: 0 / 1.185 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000317/0.3062, allocations: 31.88 kB / 1.185 GB, free: 11.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003008/0.3065, allocations: 240.5 kB / 1.185 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.898e-05/0.3066, allocations: 8 kB / 1.185 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3066, allocations: 0 / 1.185 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3066, allocations: 0 / 1.185 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3071, allocations: 473.6 kB / 1.186 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.3074, allocations: 211.6 kB / 1.186 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3078, allocations: 0.6729 MB / 1.187 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.3078, allocations: 11.44 kB / 1.187 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3078, allocations: 4 kB / 1.187 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.002991/0.3108, allocations: 1.189 MB / 1.188 GB, free: 8.844 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.255139921908267]