Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 186.6 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 1.062 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.976/0.9781, allocations: 160.8 MB / 1.219 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00692/0.985, allocations: 4.106 MB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003376/0.9884, allocations: 2.446 MB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.9886, allocations: 1.125 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.9889, allocations: 56.2 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.9892, allocations: 100.2 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.9909, allocations: 0.5415 MB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.9914, allocations: 270.6 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.9914, allocations: 11.25 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.9917, allocations: 120.9 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.9919, allocations: 93.53 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.9919, allocations: 7.375 kB / 1.226 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.993, allocations: 470.9 kB / 1.227 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.9931, allocations: 42.36 kB / 1.227 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.9933, allocations: 85.36 kB / 1.227 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009639/0.9943, allocations: 409.6 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9943, allocations: 0 / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9943, allocations: 0 / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.9943, allocations: 4.938 kB / 1.227 GB, free: 12.97 MB / 0.9356 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.0009471/0.9952, allocations: 0.5145 MB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.9953, allocations: 9.531 kB / 1.228 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.9973, allocations: 174.2 kB / 1.228 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.9977, allocations: 213.7 kB / 1.228 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.9977, allocations: 11.36 kB / 1.228 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.9978, allocations: 13.81 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.9985, allocations: 308.3 kB / 1.228 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.9985, allocations: 1.25 kB / 1.228 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.9986, allocations: 7.938 kB / 1.228 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.9986, allocations: 5.594 kB / 1.228 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.9994, allocations: 262.2 kB / 1.229 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/1.002, allocations: 1.39 MB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007432/1.002, allocations: 180.7 kB / 1.23 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/1.003, allocations: 79.64 kB / 1.23 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/1.003, allocations: 6.281 kB / 1.23 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/1.003, allocations: 41.19 kB / 1.23 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/1.003, allocations: 0 / 1.23 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009034/1.004, allocations: 244.1 kB / 1.23 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.004, allocations: 53.66 kB / 1.23 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/1.004, allocations: 155.5 kB / 1.231 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/1.004, allocations: 31.92 kB / 1.231 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/1.004, allocations: 134.1 kB / 1.231 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/1.004, allocations: 62.94 kB / 1.231 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.004, allocations: 47.8 kB / 1.231 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.005, allocations: 329.5 kB / 1.231 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/1.005, allocations: 67.56 kB / 1.231 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/1.005, allocations: 144.4 kB / 1.231 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/1.006, allocations: 220.5 kB / 1.232 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.006, allocations: 1 kB / 1.232 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007354/1.006, allocations: 252.5 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.006, allocations: 5.656 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.006, allocations: 2.688 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.007, allocations: 4.094 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/1.007, allocations: 70.69 kB / 1.232 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.007, allocations: 3.438 kB / 1.232 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/1.007, allocations: 35.36 kB / 1.232 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.007, allocations: 12.59 kB / 1.232 GB, free: 8.777 MB / 0.9356 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.0001712/1.007, allocations: 130.2 kB / 1.232 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/1.007, allocations: 20.08 kB / 1.232 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/1.008, allocations: 232.3 kB / 1.232 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.008, allocations: 2.469 kB / 1.232 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.008, allocations: 0 / 1.232 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.008, allocations: 3.984 kB / 1.232 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/1.009, allocations: 245.5 kB / 1.233 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.009, allocations: 0 / 1.233 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/1.009, allocations: 49.67 kB / 1.233 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.009, allocations: 1.312 kB / 1.233 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/1.009, allocations: 6.75 kB / 1.233 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.009, allocations: 0 / 1.233 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.009, allocations: 5.281 kB / 1.233 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/1.01, allocations: 296 kB / 1.233 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/1.01, allocations: 108.9 kB / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/1.01, allocations: 0 / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/1.01, allocations: 19.98 kB / 1.233 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/1.01, allocations: 15.98 kB / 1.233 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/1.01, allocations: 7.984 kB / 1.233 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001088/1.01, allocations: 120.6 kB / 1.233 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0 / 1.233 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003991/1.011, allocations: 59.94 kB / 1.233 GB, free: 7.648 MB / 0.9356 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.0002567/1.011, allocations: 150.3 kB / 1.233 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005547/1.011, allocations: 188.9 kB / 1.234 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.011, allocations: 0 / 1.234 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/1.012, allocations: 79.89 kB / 1.234 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/1.012, allocations: 61.95 kB / 1.234 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.013, allocations: 413.4 kB / 1.234 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.014, allocations: 0.7133 MB / 1.235 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002782/1.014, allocations: 53.94 kB / 1.235 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/1.014, allocations: 23.42 kB / 1.235 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/1.014, allocations: 0 / 1.235 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of Templates: time 0.007982/1.022, allocations: 3.567 MB / 1.238 GB, free: 2.406 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.240489174611866]