Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002168/0.002168, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00277/0.00277, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.629/3.629, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002175/0.002175, allocations: 69.67 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.459, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00248/0.4615, allocations: 0.7973 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.4616, allocations: 43.78 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.4617, allocations: 4 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.4617, allocations: 7.875 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.014e-05/0.4618, allocations: 11.86 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.152e-05/0.4619, allocations: 15.98 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.462, allocations: 67.84 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.4622, allocations: 27.97 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.4623, allocations: 27.86 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.4624, allocations: 31.73 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4624, allocations: 4 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.4624, allocations: 8 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.4624, allocations: 11.92 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.4624, allocations: 27.86 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4626, allocations: 79.58 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4626, allocations: 0 / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.606e-06/0.4626, allocations: 3.938 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4626, allocations: 4 kB / 1.365 GB, free: 12.36 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.0004573/0.4631, allocations: 298 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4631, allocations: 8.031 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.4631, allocations: 20.83 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.4633, allocations: 134.3 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4634, allocations: 8.375 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4634, allocations: 4.375 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.4636, allocations: 102.5 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4636, allocations: 192 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4636, allocations: 11.94 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4636, allocations: 4 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.4637, allocations: 27.98 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.4642, allocations: 364.4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.4643, allocations: 33.22 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.4643, allocations: 17.78 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.4643, allocations: 3.984 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4643, allocations: 38.59 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4643, allocations: 0 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002043/0.4645, allocations: 57.53 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.4646, allocations: 77.11 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4647, allocations: 129.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.4648, allocations: 25.7 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.4648, allocations: 111.9 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.4649, allocations: 7.953 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4649, allocations: 13.72 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4651, allocations: 318.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.4651, allocations: 8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.4651, allocations: 17.97 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.4651, allocations: 37.64 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4652, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.896e-05/0.4652, allocations: 45.7 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4652, allocations: 4 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4653, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4653, allocations: 7.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.4653, allocations: 11.92 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4653, allocations: 4.062 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.4654, allocations: 3.953 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.4654, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 1.061 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.0001091/0.4655, allocations: 117.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.4655, allocations: 4.031 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.4656, allocations: 23.33 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4656, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4656, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4656, allocations: 7.984 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.466, allocations: 406.5 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.466, allocations: 12 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.466, allocations: 0 / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.466, allocations: 11.98 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.466, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4661, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4661, allocations: 0 / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.924e-05/0.4661, allocations: 69.94 kB / 1.367 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.4662, allocations: 19.88 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4662, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.4662, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.4662, allocations: 8.031 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.4662, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.4663, allocations: 106.1 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4663, allocations: 0 / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001902/0.4665, allocations: 11.95 kB / 1.368 GB, free: 9.367 MB / 1.061 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.000119/0.4666, allocations: 95.25 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.4667, allocations: 19.92 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4667, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.4667, allocations: 8.125 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.4669, allocations: 11.94 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.4672, allocations: 150.8 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.105e-05/0.4673, allocations: 83.12 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.4673, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.4674, allocations: 11.44 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4674, allocations: 3.938 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of Templates: time 0.002703/0.4701, allocations: 383.6 kB / 1.368 GB, free: 8.555 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.898010248318315]