Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001364/0.001364, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001474/0.001474, allocations: 156.7 kB / 23.01 MB, free: 4.598 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 3.027/3.027, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002083/0.002083, allocations: 75.89 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001858/1.03, allocations: 0.7836 MB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/1.03, allocations: 41.16 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/1.03, allocations: 0 / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/1.03, allocations: 11.16 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/1.03, allocations: 14.81 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.738e-05/1.031, allocations: 14.09 kB / 1.155 GB, free: 32.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/1.031, allocations: 63.59 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/1.031, allocations: 37.31 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.766e-05/1.031, allocations: 26.44 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/1.031, allocations: 25.31 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/1.031, allocations: 7.781 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/1.031, allocations: 5.25 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/1.031, allocations: 21.61 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/1.031, allocations: 27.09 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/1.031, allocations: 72.16 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.031, allocations: 0 / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/1.031, allocations: 4 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.031, allocations: 2.812 kB / 1.155 GB, free: 32.64 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.0003609/1.031, allocations: 308 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/1.031, allocations: 7.625 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/1.031, allocations: 10.89 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.032, allocations: 140.5 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.032, allocations: 3.062 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/1.032, allocations: 9.875 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.032, allocations: 99.11 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.032, allocations: 4.172 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.032, allocations: 10.84 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.032, allocations: 2.594 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/1.032, allocations: 36.92 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/1.032, allocations: 353.4 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/1.032, allocations: 36 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/1.032, allocations: 19.25 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/1.032, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.032, allocations: 40.67 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.032, allocations: 4 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.000159/1.033, allocations: 55.69 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.033, allocations: 77.11 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/1.033, allocations: 127 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/1.033, allocations: 29.64 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/1.033, allocations: 112.2 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/1.033, allocations: 10.52 kB / 1.156 GB, free: 31.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/1.033, allocations: 16.62 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.984e-05/1.033, allocations: 320.8 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/1.033, allocations: 3.031 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/1.033, allocations: 23.56 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/1.033, allocations: 29.44 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.033, allocations: 0 / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.534e-05/1.033, allocations: 62.91 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.033, allocations: 6 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.033, allocations: 0 / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.033, allocations: 7.219 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/1.033, allocations: 9.625 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.033, allocations: 4.062 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/1.033, allocations: 3.062 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/1.033, allocations: 0 / 1.157 GB, free: 30.8 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.306e-05/1.033, allocations: 115.9 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/1.033, allocations: 7.109 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/1.033, allocations: 14.69 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.033, allocations: 2.969 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.033, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.033, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/1.033, allocations: 414.3 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.033, allocations: 6.938 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/1.033, allocations: 6.328 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.033, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/1.033, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.033, allocations: 2.906 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.033, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.61e-05/1.034, allocations: 78.45 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/1.034, allocations: 10.45 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/1.034, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/1.034, allocations: 8.094 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/1.034, allocations: 2.688 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/1.034, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.054e-05/1.034, allocations: 106.8 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.034, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001862/1.034, allocations: 11.84 kB / 1.158 GB, free: 30.06 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 7.766e-05/1.034, allocations: 97.06 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.463e-05/1.034, allocations: 18.5 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.034, allocations: 0 / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/1.034, allocations: 9.219 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/1.034, allocations: 9.875 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/1.034, allocations: 150.9 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/1.034, allocations: 85.27 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.67e-05/1.034, allocations: 9.891 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/1.034, allocations: 11.25 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.034, allocations: 8.062 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of Templates: time 0.002436/1.037, allocations: 313.7 kB / 1.158 GB, free: 29.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.209451638977043]