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.001321/0.001321, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001492/0.001492, allocations: 214.7 kB / 23.04 MB, free: 4.867 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.098/3.098, allocations: 0.49 GB / 0.7959 GB, free: 35.63 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.002032/0.002032, allocations: 72.75 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3996, allocations: 176.1 MB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007962/0.4075, allocations: 3.898 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.4109, allocations: 2.235 MB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.4109, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.4112, allocations: 39.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.4115, allocations: 99.34 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4129, allocations: 0.5507 MB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.4134, allocations: 267.8 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.4134, allocations: 5.75 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.4137, allocations: 115.6 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.4139, allocations: 95.59 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.4139, allocations: 8 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007843/0.4147, allocations: 395.3 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.4148, allocations: 47.7 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.4149, allocations: 75.72 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.4156, allocations: 402.8 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4156, allocations: 4 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4156, allocations: 4 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4156, allocations: 0 / 1.335 GB, free: 8.641 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.0008984/0.4165, allocations: 446.8 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4166, allocations: 15.97 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.4188, allocations: 184.6 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.4192, allocations: 158.3 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4192, allocations: 8.703 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4193, allocations: 20.31 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.4202, allocations: 0.502 MB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4202, allocations: 0 / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4202, allocations: 12 kB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.4202, allocations: 4 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007335/0.421, allocations: 247.6 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.423, allocations: 1.181 MB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.4237, allocations: 190.4 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.4239, allocations: 68.81 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.424, allocations: 7.938 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.424, allocations: 38.56 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.424, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008452/0.4249, allocations: 247.2 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.4249, allocations: 55.41 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.425, allocations: 139.8 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4251, allocations: 29.7 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.4252, allocations: 132.2 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.4252, allocations: 67.47 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.4253, allocations: 49.88 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4255, allocations: 326.8 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.4257, allocations: 68.42 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.426, allocations: 151.7 kB / 1.339 GB, free: 4.031 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/0.4267, allocations: 206.7 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.4267, allocations: 7.938 kB / 1.34 GB, free: 3.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006782/0.4274, allocations: 249.2 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4274, allocations: 9.094 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4274, allocations: 3.984 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4274, allocations: 4 kB / 1.34 GB, free: 3.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.4278, allocations: 71.89 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.4278, allocations: 4.312 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.428, allocations: 39.7 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.428, allocations: 12 kB / 1.34 GB, free: 3.398 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.0001379/0.4282, allocations: 134.2 kB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.4282, allocations: 15.94 kB / 1.34 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006534/0.4289, allocations: 222.6 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4289, allocations: 4 kB / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4289, allocations: 0 / 1.34 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4289, allocations: 3.984 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.4292, allocations: 173.1 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4292, allocations: 4 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.4295, allocations: 47.97 kB / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4295, allocations: 0 / 1.341 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4295, allocations: 7.984 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4295, allocations: 4 kB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4295, allocations: 3.938 kB / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.4301, allocations: 300.6 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.4302, allocations: 31.75 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.4303, allocations: 4 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4305, allocations: 15.98 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.4306, allocations: 11.97 kB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.4306, allocations: 12 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.718e-05/0.4307, allocations: 104.7 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4307, allocations: 0 / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003755/0.431, allocations: 63.94 kB / 1.341 GB, free: 2.199 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.0002395/0.4313, allocations: 135.1 kB / 1.341 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.4319, allocations: 185 kB / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4319, allocations: 0 / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.4321, allocations: 79.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.0004294/0.4325, allocations: 61.08 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4335, allocations: 436.1 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.4336, allocations: 102.8 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4338, allocations: 31.42 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4338, allocations: 3.938 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of Templates: time 0.005462/0.4392, allocations: 2.838 MB / 1.345 GB, free: 14.3 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.15123486192897]