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.001345/0.001345, allocations: 78.09 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.001506/0.001506, allocations: 154.5 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.003/3.003, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 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.002262/0.002262, allocations: 74.22 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002429/1.042, allocations: 0.796 MB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000124/1.042, allocations: 45.62 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/1.042, allocations: 2.062 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/1.042, allocations: 9.094 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/1.042, allocations: 10.66 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.819e-05/1.042, allocations: 20.09 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/1.042, allocations: 59.02 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/1.042, allocations: 31.86 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/1.042, allocations: 30.72 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/1.042, allocations: 27.34 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/1.042, allocations: 13.78 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/1.042, allocations: 5.188 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/1.042, allocations: 12.78 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/1.043, allocations: 29.42 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/1.043, allocations: 70.88 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.043, allocations: 0 / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.043, allocations: 5.562 kB / 1.188 GB, free: 15.49 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.273e-05/1.043, allocations: 0 / 1.188 GB, free: 15.49 MB / 1.076 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.0004189/1.043, allocations: 299.8 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/1.043, allocations: 9.938 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/1.043, allocations: 17.66 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.043, allocations: 138.2 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/1.043, allocations: 7.094 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.043, allocations: 5.438 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/1.044, allocations: 102.1 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.044, allocations: 192 / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.044, allocations: 7.938 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.044, allocations: 2.656 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/1.044, allocations: 32.14 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/1.044, allocations: 361.2 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/1.044, allocations: 38.25 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/1.044, allocations: 23.92 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/1.044, allocations: 0 / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/1.044, allocations: 33.88 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.044, allocations: 3.938 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/1.044, allocations: 59.53 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.044, allocations: 79.42 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/1.044, allocations: 123.3 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/1.044, allocations: 29.7 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/1.045, allocations: 114.9 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/1.045, allocations: 13.94 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/1.045, allocations: 18.02 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/1.045, allocations: 313.8 kB / 1.189 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/1.045, allocations: 8.406 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/1.045, allocations: 15.95 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/1.045, allocations: 31.38 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.045, allocations: 1.562 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.119e-05/1.045, allocations: 51.58 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.045, allocations: 6.094 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.045, allocations: 4.734 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.045, allocations: 8.906 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/1.045, allocations: 6.219 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.045, allocations: 1.406 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/1.045, allocations: 5.734 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/1.045, allocations: 5.438 kB / 1.19 GB, free: 13.66 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 5.407e-05/1.045, allocations: 110.1 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/1.045, allocations: 10.47 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/1.045, allocations: 11.28 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.045, allocations: 1.25 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.045, allocations: 0.6094 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.045, allocations: 1.219 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/1.045, allocations: 416.8 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.045, allocations: 4.594 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/1.045, allocations: 4.031 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.045, allocations: 1.094 kB / 1.19 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.045, allocations: 5.125 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.045, allocations: 0 / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.045, allocations: 1.781 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.555e-05/1.045, allocations: 76.38 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/1.045, allocations: 11.58 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/1.045, allocations: 6.734 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/1.045, allocations: 0 / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/1.046, allocations: 2.281 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/1.046, allocations: 1.094 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.175e-05/1.046, allocations: 104.9 kB / 1.19 GB, free: 12.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.046, allocations: 4.031 kB / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001874/1.046, allocations: 15.36 kB / 1.19 GB, free: 12.91 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 9.986e-05/1.046, allocations: 93.19 kB / 1.19 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.878e-05/1.046, allocations: 24.83 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.046, allocations: 0 / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/1.046, allocations: 4.406 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/1.046, allocations: 14.81 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/1.046, allocations: 161.2 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.807e-05/1.047, allocations: 83.94 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.193e-05/1.047, allocations: 4.359 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/1.047, allocations: 10.88 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.047, allocations: 0 / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of Templates: time 0.002977/1.05, allocations: 322.1 kB / 1.191 GB, free: 12.49 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.319593215011992]