Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001552/0.001552, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001478/0.001478, allocations: 220.3 kB / 23 MB, free: 4.914 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.484/1.484, 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 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.807/2.807, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [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.002073/0.002073, allocations: 67.16 kB / 1.118 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3046, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002201/0.3068, allocations: 0.7911 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.3069, allocations: 47.78 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.307, allocations: 4 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.307, allocations: 7.875 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.3071, allocations: 7.875 kB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.3071, allocations: 19.97 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3073, allocations: 63.84 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3074, allocations: 27.97 kB / 1.285 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.3075, allocations: 23.86 kB / 1.285 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.3075, allocations: 27.86 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.3076, allocations: 4 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3076, allocations: 15.94 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3076, allocations: 15.86 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.3076, allocations: 27.81 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3078, allocations: 83.56 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3078, allocations: 0 / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3078, allocations: 0 / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3078, allocations: 0 / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004549/0.3082, allocations: 306.1 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3083, allocations: 8.031 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3083, allocations: 8.891 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3085, allocations: 142.3 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3085, allocations: 8.375 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3085, allocations: 4.375 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3087, allocations: 95.86 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3087, allocations: 4.125 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3087, allocations: 7.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3087, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.3088, allocations: 31.98 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.3093, allocations: 360.6 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.651e-05/0.3094, allocations: 41.16 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.3094, allocations: 17.78 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3095, allocations: 3.938 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3095, allocations: 42.48 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3095, allocations: 0 / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.3097, allocations: 49.59 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3097, allocations: 81.05 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3099, allocations: 130.6 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3099, allocations: 25.95 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.743e-05/0.31, allocations: 115.9 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.31, allocations: 7.953 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.31, allocations: 13.72 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3102, allocations: 318.8 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3102, allocations: 4 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.3102, allocations: 17.72 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.3103, allocations: 25.72 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3103, allocations: 4 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.82e-05/0.3103, allocations: 61.58 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3104, allocations: 4 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3104, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3104, allocations: 3.938 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.657e-05/0.3104, allocations: 8 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3105, allocations: 7.922 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.3105, allocations: 3.938 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.3105, allocations: 4 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.969e-05/0.3106, allocations: 117.8 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.3106, allocations: 3.953 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3106, allocations: 19.47 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3107, allocations: 96 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3107, allocations: 4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3107, allocations: 3.984 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.3111, allocations: 410.5 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3111, allocations: 3.938 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.3111, allocations: 4 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3111, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3111, allocations: 4 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3111, allocations: 0 / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3111, allocations: 8.047 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.3112, allocations: 77.83 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.3113, allocations: 11.94 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3113, allocations: 3.984 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3113, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3113, allocations: 4 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3113, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.3114, allocations: 100.4 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3114, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001892/0.3116, allocations: 11.95 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001127/0.3117, allocations: 99.28 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3118, allocations: 19.92 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3118, allocations: 0 / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.3118, allocations: 4 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.312, allocations: 14.59 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.3124, allocations: 176.5 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.454e-05/0.3124, allocations: 92.92 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3125, allocations: 11.44 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.3125, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of Templates: time 0.002491/0.315, allocations: 0.7953 MB / 1.289 GB, free: 6.539 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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: 10.920612465124577]