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.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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 108.3 kB / 16.37 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 56.28 kB / 0.8773 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 153 MB / 1.027 GB, free: 2.145 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002831/0.3283, allocations: 0.8447 MB / 1.028 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001187/0.3285, allocations: 39.78 kB / 1.028 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.3286, allocations: 4 kB / 1.028 GB, free: 1.262 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.3286, allocations: 11.86 kB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.789e-05/0.3287, allocations: 11.88 kB / 1.028 GB, free: 1.238 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.394e-05/0.3288, allocations: 15.98 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3289, allocations: 59.84 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3291, allocations: 47.95 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.3291, allocations: 23.88 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.3292, allocations: 31.78 kB / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3292, allocations: 4 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.3292, allocations: 8 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.3293, allocations: 11.88 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.3293, allocations: 43.78 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3294, allocations: 71.72 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3294, allocations: 0 / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3295, allocations: 0 / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3295, allocations: 0 / 1.028 GB, free: 0.9258 MB / 0.795 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.0004494/0.3299, allocations: 375.2 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.33, allocations: 8.031 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.33, allocations: 8.844 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3302, allocations: 200.1 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3303, allocations: 12.28 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3303, allocations: 8.375 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3305, allocations: 95.92 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3305, allocations: 192 / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3305, allocations: 7.875 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3305, allocations: 4 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.3306, allocations: 39.92 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.3312, allocations: 436.5 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.3313, allocations: 41.34 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.3313, allocations: 21.77 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3313, allocations: 4 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3314, allocations: 34.56 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.3314, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.3316, allocations: 53.48 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3316, allocations: 81.05 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3318, allocations: 163.9 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3318, allocations: 25.95 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.3319, allocations: 112 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.3319, allocations: 7.906 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3319, allocations: 17.7 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.332, allocations: 314.8 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3321, allocations: 8 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.3321, allocations: 17.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.3321, allocations: 33.72 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3321, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.562e-05/0.3322, allocations: 57.53 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3323, allocations: 4 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3323, allocations: 3.938 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3323, allocations: 4 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/0.3324, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3324, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.3324, allocations: 15.91 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3324, allocations: 0 / 1.03 GB, free: 14.49 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.179e-05/0.3325, allocations: 121.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3326, allocations: 7.906 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3326, allocations: 19.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3326, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.333, allocations: 478.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.333, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.333, allocations: 4 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.333, allocations: 3.938 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.333, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3331, allocations: 3.938 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3331, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.191e-05/0.3331, allocations: 81.89 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.3332, allocations: 93 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3332, allocations: 3.938 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.3333, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.3333, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3333, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.3334, allocations: 121.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3334, allocations: 32 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001908/0.3336, allocations: 12 kB / 1.031 GB, free: 13.44 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.0001244/0.3337, allocations: 95.25 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.3338, allocations: 19.98 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3338, allocations: 3.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.3338, allocations: 8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.334, allocations: 13.97 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.3343, allocations: 158 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3345, allocations: 0.6963 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.3346, allocations: 8.516 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3346, allocations: 11.44 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3346, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of Templates: time 0.002404/0.337, allocations: 452.5 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) 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) Reference file matches