Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001759/0.001759, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.002104/0.002104, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002388/0.002388, allocations: 67.89 kB / 0.9516 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3127, allocations: 169.9 MB / 1.118 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006771/0.3195, allocations: 3.9 MB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.3228, allocations: 2.228 MB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.323, allocations: 0 / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.3233, allocations: 39.7 kB / 1.124 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.3237, allocations: 107.3 kB / 1.124 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.3254, allocations: 0.5482 MB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.3258, allocations: 267.8 kB / 1.124 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.3258, allocations: 9.75 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.3262, allocations: 127.6 kB / 1.125 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3264, allocations: 87.66 kB / 1.125 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3264, allocations: 11.94 kB / 1.125 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009536/0.3274, allocations: 399.3 kB / 1.125 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.3275, allocations: 43.88 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3276, allocations: 67.73 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.3285, allocations: 406.8 kB / 1.126 GB, free: 10.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3285, allocations: 0 / 1.126 GB, free: 10.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3285, allocations: 0 / 1.126 GB, free: 10.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.3285, allocations: 0 / 1.126 GB, free: 10.25 MB / 1.076 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.0008857/0.3294, allocations: 453.4 kB / 1.126 GB, free: 9.777 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3294, allocations: 8.031 kB / 1.126 GB, free: 9.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.3316, allocations: 192.6 kB / 1.126 GB, free: 9.582 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.332, allocations: 154.3 kB / 1.126 GB, free: 9.406 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.332, allocations: 8.703 kB / 1.126 GB, free: 9.398 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3321, allocations: 20.38 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008904/0.333, allocations: 0.5019 MB / 1.127 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.333, allocations: 0 / 1.127 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.333, allocations: 8 kB / 1.127 GB, free: 8.785 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.333, allocations: 8 kB / 1.127 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.3338, allocations: 251.6 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.3356, allocations: 1.169 MB / 1.128 GB, free: 7.297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.3363, allocations: 190.3 kB / 1.128 GB, free: 7.102 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.3366, allocations: 76.75 kB / 1.128 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3366, allocations: 0 / 1.128 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.3366, allocations: 38.56 kB / 1.128 GB, free: 6.977 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 3.487e-06/0.3367, allocations: 3.984 kB / 1.129 GB, free: 6.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0008619/0.3375, allocations: 237.4 kB / 1.129 GB, free: 6.734 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.3376, allocations: 63.34 kB / 1.129 GB, free: 6.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3377, allocations: 148.9 kB / 1.129 GB, free: 6.508 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3378, allocations: 33.64 kB / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.3378, allocations: 128.2 kB / 1.129 GB, free: 6.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.3379, allocations: 71.39 kB / 1.129 GB, free: 6.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.338, allocations: 53.89 kB / 1.129 GB, free: 6.207 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3382, allocations: 318.8 kB / 1.13 GB, free: 5.887 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.3384, allocations: 72.34 kB / 1.13 GB, free: 5.816 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.3387, allocations: 138.3 kB / 1.13 GB, free: 5.648 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.3392, allocations: 213.3 kB / 1.13 GB, free: 5.406 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.3392, allocations: 7.938 kB / 1.13 GB, free: 5.398 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006602/0.3399, allocations: 244 kB / 1.13 GB, free: 5.156 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3399, allocations: 16.05 kB / 1.13 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3399, allocations: 0 / 1.13 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3399, allocations: 4 kB / 1.13 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.3403, allocations: 67.89 kB / 1.13 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3403, allocations: 7.984 kB / 1.13 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3406, allocations: 31.83 kB / 1.13 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.3406, allocations: 12 kB / 1.13 GB, free: 5.02 MB / 1.076 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.0001384/0.3408, allocations: 137.7 kB / 1.13 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.3408, allocations: 15.91 kB / 1.13 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006833/0.3415, allocations: 224.8 kB / 1.131 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3415, allocations: 0 / 1.131 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3415, allocations: 0 / 1.131 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3415, allocations: 3.984 kB / 1.131 GB, free: 4.629 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3418, allocations: 173.1 kB / 1.131 GB, free: 4.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3418, allocations: 0 / 1.131 GB, free: 4.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.3421, allocations: 51.91 kB / 1.131 GB, free: 4.379 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3421, allocations: 0 / 1.131 GB, free: 4.379 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.3422, allocations: 23.92 kB / 1.131 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3422, allocations: 0 / 1.131 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3422, allocations: 0 / 1.131 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.3428, allocations: 291.3 kB / 1.131 GB, free: 4.055 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.3429, allocations: 31.81 kB / 1.131 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3429, allocations: 4 kB / 1.131 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3432, allocations: 15.98 kB / 1.131 GB, free: 4.004 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3432, allocations: 19.97 kB / 1.131 GB, free: 3.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.3433, allocations: 4 kB / 1.131 GB, free: 3.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.3433, allocations: 107.2 kB / 1.131 GB, free: 3.875 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 0 / 1.131 GB, free: 3.875 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004181/0.3438, allocations: 63.94 kB / 1.131 GB, free: 3.812 MB / 1.076 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.0002297/0.344, allocations: 139.1 kB / 1.132 GB, free: 3.668 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.3446, allocations: 174.8 kB / 1.132 GB, free: 3.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3446, allocations: 4 kB / 1.132 GB, free: 3.496 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3448, allocations: 86.41 kB / 1.132 GB, free: 3.414 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3453, allocations: 39.91 kB / 1.132 GB, free: 3.375 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3464, allocations: 416.4 kB / 1.132 GB, free: 2.945 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3465, allocations: 106.8 kB / 1.132 GB, free: 2.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.3467, allocations: 45.47 kB / 1.132 GB, free: 2.777 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.3468, allocations: 24.48 kB / 1.132 GB, free: 2.754 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3468, allocations: 0 / 1.132 GB, free: 2.754 MB / 1.076 GB Notification: Performance of Templates: time 0.5813/0.9282, allocations: 3.037 MB / 1.135 GB, free: 58.24 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.71517475694418]