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.001773/0.001773, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002182/0.002182, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.143/3.143, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.002115/0.002115, allocations: 71.72 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007261/0.4093, allocations: 3.89 MB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.4129, allocations: 2.228 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.413, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.4133, allocations: 43.69 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.4138, allocations: 107.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.4158, allocations: 0.5397 MB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.4163, allocations: 271.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.4164, allocations: 5.75 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.4167, allocations: 123.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.417, allocations: 91.64 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.417, allocations: 15.94 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000947/0.418, allocations: 395.3 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.4181, allocations: 39.89 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.4182, allocations: 71.7 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4192, allocations: 410.8 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4192, allocations: 0 / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4192, allocations: 0 / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4192, allocations: 0 / 1.334 GB, free: 9.551 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.001012/0.4202, allocations: 453.3 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4203, allocations: 12.03 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4224, allocations: 180.6 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.4228, allocations: 166.3 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.4229, allocations: 8.703 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.4229, allocations: 16.38 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.4239, allocations: 0.502 MB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4239, allocations: 0 / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.4239, allocations: 8 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.424, allocations: 4 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.4247, allocations: 255.6 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.4266, allocations: 1.185 MB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.4273, allocations: 190.4 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.4275, allocations: 72.81 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.4276, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4276, allocations: 38.56 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.4276, allocations: 0 / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008374/0.4284, allocations: 243.6 kB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4285, allocations: 55.41 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4286, allocations: 139.4 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.4287, allocations: 33.7 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.4288, allocations: 132.2 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.4288, allocations: 67.42 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/0.4289, allocations: 53.88 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4291, allocations: 318.8 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.4293, allocations: 68.42 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.4296, allocations: 151 kB / 1.339 GB, free: 4.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.4301, allocations: 206.5 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4301, allocations: 11.94 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006358/0.4307, allocations: 243.1 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.4308, allocations: 8 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4308, allocations: 12.28 kB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4308, allocations: 4 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.4312, allocations: 75.83 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4312, allocations: 4 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4314, allocations: 35.77 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.4315, allocations: 8 kB / 1.339 GB, free: 4.305 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.0001507/0.4316, allocations: 134.2 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.4317, allocations: 19.89 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.4323, allocations: 228.7 kB / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4323, allocations: 0 / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4323, allocations: 0 / 1.339 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4324, allocations: 7.969 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.4326, allocations: 181 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4326, allocations: 0 / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.433, allocations: 51.91 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.433, allocations: 0 / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.433, allocations: 11.98 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.433, allocations: 4 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.433, allocations: 0 / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.4336, allocations: 297.2 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.4337, allocations: 27.81 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4337, allocations: 4 kB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.434, allocations: 15.98 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.434, allocations: 15.97 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.4341, allocations: 12 kB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.737e-05/0.4341, allocations: 103.2 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4341, allocations: 0 / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003794/0.4345, allocations: 63.94 kB / 1.34 GB, free: 3.094 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.0002499/0.4348, allocations: 135.2 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006107/0.4354, allocations: 173.5 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4354, allocations: 4 kB / 1.341 GB, free: 2.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.4356, allocations: 84.5 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4361, allocations: 47.84 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4371, allocations: 442.2 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.4372, allocations: 106.7 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4373, allocations: 31.42 kB / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4373, allocations: 0 / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of Templates: time 0.005994/0.4433, allocations: 2.823 MB / 1.344 GB, free: 15.22 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: 11.328434731811285]