Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 196.5 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.12 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002277/0.307, allocations: 0.888 MB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.3071, allocations: 39.8 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.3072, allocations: 0 / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.3073, allocations: 3.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.3073, allocations: 3.938 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.103e-05/0.3074, allocations: 15.98 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.805e-05/0.3075, allocations: 67.75 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3077, allocations: 39.95 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.3077, allocations: 23.81 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.3078, allocations: 27.84 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3078, allocations: 8 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.3078, allocations: 4 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3079, allocations: 11.94 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.3079, allocations: 35.73 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.513e-05/0.308, allocations: 48.17 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.308, allocations: 4 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.308, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.308, allocations: 4 kB / 1.054 GB, free: 7.117 MB / 0.8106 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.0004745/0.3085, allocations: 377 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3085, allocations: 16.03 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3086, allocations: 8.844 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3088, allocations: 192.1 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3088, allocations: 4.375 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3088, allocations: 8.375 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.309, allocations: 97.11 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.309, allocations: 192 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.309, allocations: 11.86 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.309, allocations: 8 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3091, allocations: 39.97 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.3097, allocations: 432.5 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.3097, allocations: 45.34 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.3098, allocations: 13.78 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.3098, allocations: 0 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3098, allocations: 42.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3098, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.31, allocations: 53.78 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.31, allocations: 85.05 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3102, allocations: 167.8 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3102, allocations: 25.7 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.3103, allocations: 104 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.3103, allocations: 7.906 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3103, allocations: 17.72 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3105, allocations: 318.8 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.3105, allocations: 15.94 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.3105, allocations: 17.72 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.3105, allocations: 25.7 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3106, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001445/0.3107, allocations: 61.55 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3107, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3107, allocations: 8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3108, allocations: 4 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.3108, allocations: 7.984 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.3108, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.3109, allocations: 11.84 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3109, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 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 8.181e-05/0.311, allocations: 117.8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.311, allocations: 7.906 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.3111, allocations: 15.81 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3111, allocations: 4 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3111, allocations: 3.984 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3111, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.3115, allocations: 470.8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3115, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.3115, allocations: 4 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3115, allocations: 0 / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3115, allocations: 4.062 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3115, allocations: 4 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3115, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.3116, allocations: 81.77 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.3117, allocations: 85.02 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3117, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.3117, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3117, allocations: 12.02 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.3117, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.212e-05/0.3118, allocations: 123.1 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3118, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001826/0.312, allocations: 8 kB / 1.057 GB, free: 3.637 MB / 0.8106 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.0001188/0.3121, allocations: 95.25 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.3122, allocations: 12 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3122, allocations: 19.94 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.3123, allocations: 8 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.3124, allocations: 5.625 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.3128, allocations: 214.3 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3131, allocations: 0.6887 MB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.3131, allocations: 11.44 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3131, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of Templates: time 0.002064/0.3152, allocations: 0.8561 MB / 1.059 GB, free: 1.656 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches