Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001977/0.001977, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002354/0.002354, allocations: 155.9 kB / 23.01 MB, free: 4.945 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.508/1.508, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.84 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.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002363/0.002363, allocations: 61.78 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3875, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002641/0.3902, allocations: 0.7934 MB / 1.118 GB, free: 1.723 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001763/0.3903, allocations: 43.78 kB / 1.118 GB, free: 1.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.3904, allocations: 4 kB / 1.118 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.269e-05/0.3905, allocations: 11.86 kB / 1.118 GB, free: 1.664 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.3906, allocations: 11.88 kB / 1.118 GB, free: 1.652 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.014e-05/0.3906, allocations: 19.92 kB / 1.118 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3908, allocations: 59.91 kB / 1.118 GB, free: 1.574 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3909, allocations: 35.89 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.391, allocations: 19.88 kB / 1.118 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.3911, allocations: 27.78 kB / 1.118 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.3911, allocations: 8 kB / 1.118 GB, free: 1.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.3911, allocations: 4 kB / 1.118 GB, free: 1.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.3911, allocations: 23.92 kB / 1.118 GB, free: 1.457 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.3912, allocations: 31.8 kB / 1.119 GB, free: 1.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3913, allocations: 67.66 kB / 1.119 GB, free: 1.359 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3913, allocations: 4 kB / 1.119 GB, free: 1.355 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3913, allocations: 0 / 1.119 GB, free: 1.355 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3913, allocations: 0 / 1.119 GB, free: 1.355 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005285/0.3919, allocations: 306 kB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3919, allocations: 8.031 kB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.392, allocations: 16.83 kB / 1.119 GB, free: 1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3922, allocations: 142.3 kB / 1.119 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3922, allocations: 12.38 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3922, allocations: 4.375 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3924, allocations: 87.95 kB / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3924, allocations: 192 / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3924, allocations: 7.938 kB / 1.119 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3924, allocations: 0 / 1.119 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.3925, allocations: 39.92 kB / 1.119 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.3931, allocations: 352.4 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.3931, allocations: 41.27 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.3932, allocations: 25.84 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.3932, allocations: 0 / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3932, allocations: 30.56 kB / 1.12 GB, free: 172 kB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3932, allocations: 4 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.3934, allocations: 53.53 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.3935, allocations: 81.09 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3937, allocations: 133 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3937, allocations: 25.7 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3938, allocations: 108.2 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.3938, allocations: 15.94 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.3938, allocations: 13.72 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.394, allocations: 318.8 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.3941, allocations: 4 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.3941, allocations: 21.7 kB / 1.12 GB, free: 15.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.3942, allocations: 21.72 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3942, allocations: 0 / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.3943, allocations: 61.58 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3943, allocations: 12.06 kB / 1.12 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3943, allocations: 0 / 1.12 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.3943, allocations: 3.938 kB / 1.12 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.3944, allocations: 8 kB / 1.12 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3944, allocations: 0 / 1.12 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.3944, allocations: 3.938 kB / 1.12 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3945, allocations: 0 / 1.12 GB, free: 15.22 MB / 1.076 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 0.0001269/0.3946, allocations: 121.7 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.3946, allocations: 7.953 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3947, allocations: 19.39 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3947, allocations: 4 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3947, allocations: 0 / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3947, allocations: 3.938 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.3951, allocations: 414.4 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3952, allocations: 3.938 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.3952, allocations: 4 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3952, allocations: 96 / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3952, allocations: 3.984 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.3952, allocations: 4 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3952, allocations: 4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.3953, allocations: 78 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.3954, allocations: 15.89 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3954, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.3954, allocations: 0 / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.3954, allocations: 3.938 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.3954, allocations: 4 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.73e-05/0.3955, allocations: 95.27 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3955, allocations: 0 / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000213/0.3957, allocations: 12 kB / 1.121 GB, free: 14.37 MB / 1.076 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.0001524/0.3959, allocations: 103.3 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.396, allocations: 12 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.396, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.396, allocations: 7.938 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3962, allocations: 18.97 kB / 1.121 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3968, allocations: 158.6 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3969, allocations: 83.53 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.3969, allocations: 3.984 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.397, allocations: 12.5 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.397, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of Templates: time 0.00365/0.4006, allocations: 325.8 kB / 1.122 GB, free: 13.6 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.80368572997395]