Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001583/0.001583, allocations: 96.2 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.001922/0.001922, allocations: 212.2 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.002024/0.002024, allocations: 69.81 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2994, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005642/0.305, allocations: 3.892 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.3079, allocations: 2.228 MB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.308, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3082, allocations: 35.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.3085, allocations: 111.3 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3098, allocations: 0.5446 MB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.3101, allocations: 267.8 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.3102, allocations: 5.75 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.3104, allocations: 131.5 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3105, allocations: 91.66 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3106, allocations: 8 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.3113, allocations: 407.3 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.3113, allocations: 43.88 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.3114, allocations: 67.73 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.312, allocations: 406.8 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.312, allocations: 0 / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.312, allocations: 0 / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.312, allocations: 0 / 1.335 GB, free: 8.68 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007769/0.3128, allocations: 459 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3128, allocations: 11.97 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.3152, allocations: 192.6 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3155, allocations: 150.3 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3155, allocations: 12.7 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3156, allocations: 12.38 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008078/0.3164, allocations: 0.502 MB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3164, allocations: 0 / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.3164, allocations: 8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3165, allocations: 8 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.3172, allocations: 251.6 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.3189, allocations: 1.181 MB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.3196, allocations: 197.3 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.3198, allocations: 72.81 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3198, allocations: 0 / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3198, allocations: 46.56 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.3198, allocations: 0 / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0007972/0.3206, allocations: 239.1 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3207, allocations: 55.41 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3208, allocations: 148 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.3208, allocations: 29.7 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.3209, allocations: 132.2 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.321, allocations: 67.45 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.3211, allocations: 53.89 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3212, allocations: 322.8 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.3215, allocations: 68.41 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.3217, allocations: 143.2 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.3222, allocations: 214.5 kB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3222, allocations: 4 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006161/0.3229, allocations: 249.4 kB / 1.34 GB, free: 3.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3229, allocations: 13.08 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3229, allocations: 0 / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3229, allocations: 4 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.3233, allocations: 67.89 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3233, allocations: 4 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.3236, allocations: 35.77 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.3236, allocations: 12 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001419/0.3237, allocations: 142.2 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.3238, allocations: 11.95 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006612/0.3245, allocations: 226.6 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3245, allocations: 7.969 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3245, allocations: 0 / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.3246, allocations: 27.81 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3246, allocations: 4 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.3249, allocations: 23.92 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3249, allocations: 11.92 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008046/0.3257, allocations: 298.3 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006223/0.3264, allocations: 375.9 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002248/0.3266, allocations: 75.94 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.3267, allocations: 96.67 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of Backend: time 4.71e-07/0.3267, allocations: 0 / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.3278, allocations: 390.1 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008832/0.3287, allocations: 0.7864 MB / 1.342 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of Templates: time 0.01168/0.3403, allocations: 6.384 MB / 1.349 GB, free: 10.59 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.803153025000938]