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.001302/0.001302, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001418/0.001418, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.845/2.845, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] 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.002171/0.002171, allocations: 67.91 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8935, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003992/0.8975, allocations: 4.144 MB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.8993, allocations: 2.44 MB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.8994, allocations: 1.5 kB / 1.328 GB, free: 20.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.8996, allocations: 56.27 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.8998, allocations: 100.5 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.9008, allocations: 0.5398 MB / 1.329 GB, free: 19.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.9011, allocations: 260.7 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.9012, allocations: 7.531 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.9014, allocations: 121.2 kB / 1.329 GB, free: 19.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.9015, allocations: 93.3 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.9015, allocations: 8.781 kB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.9023, allocations: 479.5 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.9024, allocations: 33.09 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.9024, allocations: 87.62 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.9031, allocations: 417.8 kB / 1.331 GB, free: 19.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.9031, allocations: 8.906 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9031, allocations: 3.938 kB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9031, allocations: 0 / 1.331 GB, free: 19.39 MB / 1.061 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.0006932/0.9038, allocations: 0.5087 MB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.9038, allocations: 14.19 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.906, allocations: 190.6 kB / 1.331 GB, free: 18.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.9062, allocations: 207.4 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.9062, allocations: 19.83 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.9063, allocations: 14.19 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.9069, allocations: 311.8 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9069, allocations: 5.5 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.9069, allocations: 6.656 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.907, allocations: 6.078 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007338/0.9077, allocations: 257.9 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.909, allocations: 1.394 MB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.9097, allocations: 188.2 kB / 1.334 GB, free: 17.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.9099, allocations: 69.2 kB / 1.334 GB, free: 17.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.9099, allocations: 6.312 kB / 1.334 GB, free: 17.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.91, allocations: 37.58 kB / 1.334 GB, free: 16.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.91, allocations: 5.188 kB / 1.334 GB, free: 16.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0008011/0.9108, allocations: 240.4 kB / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.9108, allocations: 54.06 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9109, allocations: 161.1 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.9109, allocations: 27.17 kB / 1.334 GB, free: 16.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.911, allocations: 135.2 kB / 1.334 GB, free: 16.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.911, allocations: 68.17 kB / 1.334 GB, free: 16.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.9111, allocations: 50.58 kB / 1.334 GB, free: 16.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.9111, allocations: 322.7 kB / 1.335 GB, free: 16.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.9114, allocations: 65.3 kB / 1.335 GB, free: 16.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.9116, allocations: 147.6 kB / 1.335 GB, free: 16.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.9121, allocations: 220.4 kB / 1.335 GB, free: 15.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9121, allocations: 1.375 kB / 1.335 GB, free: 15.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006047/0.9127, allocations: 251 kB / 1.335 GB, free: 15.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9127, allocations: 10.89 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9127, allocations: 2.844 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9127, allocations: 4.312 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.9131, allocations: 62.39 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9131, allocations: 4.375 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.9133, allocations: 34.25 kB / 1.335 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.9133, allocations: 17.67 kB / 1.335 GB, free: 15.72 MB / 1.061 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 8.476e-05/0.9134, allocations: 130.8 kB / 1.336 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.9135, allocations: 16.66 kB / 1.336 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.9141, allocations: 233.3 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9141, allocations: 2.609 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.9141, allocations: 0.9688 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9141, allocations: 1.547 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.9144, allocations: 246.8 kB / 1.336 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9144, allocations: 1.828 kB / 1.336 GB, free: 15.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.9147, allocations: 50.16 kB / 1.336 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.9147, allocations: 2.344 kB / 1.336 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9147, allocations: 5.797 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9147, allocations: 1.672 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9147, allocations: 0.9375 kB / 1.336 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.9152, allocations: 294.2 kB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.9153, allocations: 113.8 kB / 1.337 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.9153, allocations: 9.562 kB / 1.337 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.9156, allocations: 13.45 kB / 1.337 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.9157, allocations: 17.5 kB / 1.337 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.9157, allocations: 8.484 kB / 1.337 GB, free: 14.92 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.9158, allocations: 123.4 kB / 1.337 GB, free: 14.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9158, allocations: 0 / 1.337 GB, free: 14.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003864/0.9161, allocations: 55.91 kB / 1.337 GB, free: 14.83 MB / 1.061 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.0002046/0.9164, allocations: 140.7 kB / 1.337 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006244/0.917, allocations: 177.5 kB / 1.337 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.917, allocations: 1 kB / 1.337 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.9172, allocations: 84.47 kB / 1.337 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.9177, allocations: 63.16 kB / 1.337 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.9187, allocations: 430.1 kB / 1.338 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.9188, allocations: 0.723 MB / 1.338 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.9189, allocations: 31.03 kB / 1.338 GB, free: 13.66 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9189, allocations: 0 / 1.338 GB, free: 13.66 MB / 1.061 GB Notification: Performance of Templates: time 0.005189/0.9241, allocations: 2.95 MB / 1.341 GB, free: 13.38 MB / 1.061 GB " [Timeout remaining time 299] 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.288195048007765]