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.001303/0.001303, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001512/0.001512, allocations: 212.4 kB / 22.99 MB, free: 4.957 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.377/3.377, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.001998/0.001998, allocations: 71.95 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 176.1 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006332/0.3148, allocations: 3.889 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.3177, allocations: 2.235 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.3178, allocations: 11.81 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.318, allocations: 39.7 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.3183, allocations: 99.41 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3195, allocations: 0.5536 MB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3199, allocations: 263.9 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.3199, allocations: 5.75 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3201, allocations: 119.5 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3203, allocations: 103.6 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3203, allocations: 8 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.321, allocations: 403.3 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.3211, allocations: 35.89 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.3212, allocations: 79.7 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.3218, allocations: 406.7 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.3218, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3218, allocations: 4 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3218, allocations: 0 / 1.335 GB, free: 8.637 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.0008139/0.3226, allocations: 449.3 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3227, allocations: 12.03 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.325, allocations: 188.6 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.3253, allocations: 158.3 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.3253, allocations: 8.703 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3254, allocations: 16.38 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.3262, allocations: 0.4981 MB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3262, allocations: 0 / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.3262, allocations: 12 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.3263, allocations: 8 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.327, allocations: 255.5 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3287, allocations: 1.177 MB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.3295, allocations: 186.4 kB / 1.338 GB, free: 5.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.3297, allocations: 72.81 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3297, allocations: 4 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3298, allocations: 42.56 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.3298, allocations: 0 / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008033/0.3306, allocations: 239.6 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3306, allocations: 59.34 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3307, allocations: 143.4 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3308, allocations: 29.7 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.3309, allocations: 136.2 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.3309, allocations: 59.48 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.331, allocations: 49.88 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3312, allocations: 326.8 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.3314, allocations: 68.36 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.3317, allocations: 143.7 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.3322, allocations: 218.9 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.3322, allocations: 7.938 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006076/0.3328, allocations: 245.5 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3328, allocations: 8 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3328, allocations: 0 / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3328, allocations: 7.984 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.3332, allocations: 67.89 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3332, allocations: 7.938 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.3335, allocations: 31.77 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3335, allocations: 12 kB / 1.34 GB, free: 3.402 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.0001392/0.3337, allocations: 142.2 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.3337, allocations: 19.88 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.3344, allocations: 220 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3344, allocations: 4 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3344, allocations: 0 / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3344, allocations: 3.984 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3346, allocations: 177.1 kB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3346, allocations: 0 / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.335, allocations: 55.91 kB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.335, allocations: 4 kB / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.335, allocations: 3.984 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.335, allocations: 4 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.335, allocations: 0 / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.3356, allocations: 296.5 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.3357, allocations: 31.81 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.3357, allocations: 0 / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.336, allocations: 19.98 kB / 1.341 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3361, allocations: 11.97 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.3361, allocations: 12 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.861e-05/0.3362, allocations: 109.8 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3362, allocations: 0 / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003632/0.3365, allocations: 63.88 kB / 1.341 GB, free: 2.191 MB / 1.029 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 (20): * Single equations (assignments): 20 * 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.0002143/0.3368, allocations: 123.2 kB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.3373, allocations: 182 kB / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3373, allocations: 0 / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.3376, allocations: 87.88 kB / 1.341 GB, free: 1.801 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.338, allocations: 51.78 kB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.339, allocations: 416.4 kB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.3391, allocations: 106.8 kB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002546/0.3393, allocations: 45.47 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.696e-05/0.3394, allocations: 27.42 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3394, allocations: 0 / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of Templates: time 0.007379/0.3468, allocations: 3.336 MB / 1.345 GB, free: 13.87 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 -s gbode -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.797129415994277]