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.001226/0.001226, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001372/0.001372, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 8.016 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.023/3.023, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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.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.001932/0.001932, allocations: 61.56 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 176.1 MB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.0056/0.3195, allocations: 4.163 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.3223, allocations: 2.473 MB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.3224, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.3227, allocations: 51.66 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.3229, allocations: 99.36 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3242, allocations: 0.5453 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003493/0.3245, allocations: 267.8 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.3246, allocations: 5.75 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3248, allocations: 115.6 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3249, allocations: 95.59 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.325, allocations: 12 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008282/0.3258, allocations: 479.2 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.3259, allocations: 39.89 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.004e-05/0.326, allocations: 91.58 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.3266, allocations: 418.7 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3266, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3266, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3266, allocations: 0 / 1.335 GB, free: 8.535 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.0007398/0.3273, allocations: 446.8 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3273, allocations: 12.03 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.3294, allocations: 192.5 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3297, allocations: 158.3 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3297, allocations: 16.64 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3298, allocations: 20.38 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.3304, allocations: 308.4 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3304, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.3305, allocations: 8 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.3305, allocations: 4 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.3312, allocations: 259.6 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3329, allocations: 1.364 MB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.3335, allocations: 182.5 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.3337, allocations: 76.75 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3338, allocations: 4 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3338, allocations: 34.56 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3338, allocations: 0 / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0007496/0.3345, allocations: 241.4 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3346, allocations: 59.34 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3347, allocations: 158.1 kB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3348, allocations: 33.7 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.3348, allocations: 136.2 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.3349, allocations: 67.42 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.335, allocations: 49.92 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3351, allocations: 322.8 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3353, allocations: 72.3 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.3356, allocations: 147 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.3361, allocations: 215.2 kB / 1.339 GB, free: 3.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3361, allocations: 0 / 1.339 GB, free: 3.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005731/0.3366, allocations: 259 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3367, allocations: 8 kB / 1.34 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3367, allocations: 3.984 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3367, allocations: 4 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.337, allocations: 67.89 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3371, allocations: 4 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.3373, allocations: 31.83 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.3373, allocations: 20.19 kB / 1.34 GB, free: 3.285 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.0001357/0.3375, allocations: 138.1 kB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3375, allocations: 15.91 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.3381, allocations: 230.5 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3381, allocations: 0 / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3381, allocations: 0 / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3381, allocations: 4 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.3384, allocations: 212.5 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3384, allocations: 4 kB / 1.34 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3387, allocations: 47.97 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3387, allocations: 0 / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3387, allocations: 7.984 kB / 1.34 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3387, allocations: 3.938 kB / 1.34 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3387, allocations: 0 / 1.34 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.3393, allocations: 301.2 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.3394, allocations: 27.88 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.3394, allocations: 11.94 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3397, allocations: 15.98 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.3397, allocations: 11.97 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3398, allocations: 8 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.3398, allocations: 115.2 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3398, allocations: 0 / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003525/0.3402, allocations: 67.94 kB / 1.341 GB, free: 2.012 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.0002116/0.3404, allocations: 138.7 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.3409, allocations: 175.7 kB / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3409, allocations: 0 / 1.341 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.3411, allocations: 82.12 kB / 1.341 GB, free: 1.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3416, allocations: 56.52 kB / 1.341 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.3425, allocations: 412.4 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3429, allocations: 0.7172 MB / 1.342 GB, free: 404 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002375/0.3431, allocations: 57.86 kB / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.3432, allocations: 23.42 kB / 1.343 GB, free: 320 kB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3432, allocations: 0 / 1.343 GB, free: 320 kB / 1.029 GB Notification: Performance of Templates: time 0.007313/0.3505, allocations: 3.564 MB / 1.346 GB, free: 12.79 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/jenkins/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.399077269248664]