Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001783/0.001783, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002271/0.002271, allocations: 211.8 kB / 23 MB, free: 4.934 MB / 14.72 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 68.23 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005114/0.3136, allocations: 3.236 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.3137, allocations: 47.86 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.3138, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3139, allocations: 3.938 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.3139, allocations: 19.91 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.3145, allocations: 192.2 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.3146, allocations: 35.84 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.3146, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.3147, allocations: 15.98 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.3147, allocations: 11.97 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3148, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.3151, allocations: 143.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.3151, allocations: 7.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.3151, allocations: 7.984 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3154, allocations: 123.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3154, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3154, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.279e-06/0.3154, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 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.0004045/0.3158, allocations: 274.2 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3158, allocations: 12.03 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3159, allocations: 0.9375 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.316, allocations: 110.5 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.569e-05/0.3161, allocations: 55.97 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3161, allocations: 384 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3162, allocations: 79.31 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3162, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3162, allocations: 3.984 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3163, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.3163, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.3168, allocations: 240.5 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.089e-05/0.3168, allocations: 22.55 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.3168, allocations: 8.859 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.317, allocations: 43.95 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.317, allocations: 34.56 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.317, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.3171, allocations: 41.59 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.3172, allocations: 51.41 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.3172, allocations: 101.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3173, allocations: 25.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.3173, allocations: 99.97 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-06/0.3173, allocations: 4.125 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.3174, allocations: 17.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3175, allocations: 314.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.3175, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.3175, allocations: 13.72 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.3176, allocations: 25.64 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3176, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.78e-05/0.3177, allocations: 45.64 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3177, allocations: 14.23 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3177, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3177, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.3177, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3177, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.3178, allocations: 3.953 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.3178, allocations: 7.938 kB / 1.332 GB, free: 11.24 MB / 1.029 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 8.088e-05/0.3178, allocations: 110.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3179, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.318, allocations: 119.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/0.3181, allocations: 192.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.492e-05/0.3181, allocations: 101 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.3182, allocations: 109 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.3183, allocations: 184.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3184, allocations: 113 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.3185, allocations: 184.1 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001077/0.3186, allocations: 259.5 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002065/0.3188, allocations: 383 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.631e-05/0.3189, allocations: 101 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.3189, allocations: 87.27 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of Backend: time 3.5e-07/0.3189, allocations: 4 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.3194, allocations: 147.2 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006418/0.3201, allocations: 0.8642 MB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003913/0.324, allocations: 1.178 MB / 1.336 GB, free: 7.039 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.489917799000978]