Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001191/0.001191, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001294/0.001294, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.7 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001988/0.3283, allocations: 0.8409 MB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.3284, allocations: 43.78 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.3285, allocations: 0 / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.3285, allocations: 15.88 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.3286, allocations: 3.938 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.71e-05/0.3287, allocations: 15.98 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3288, allocations: 71.67 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3289, allocations: 47.95 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.329, allocations: 27.86 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.329, allocations: 23.86 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3291, allocations: 8 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.3291, allocations: 8 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.3291, allocations: 15.92 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.3291, allocations: 31.75 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3292, allocations: 75.64 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3293, allocations: 3.984 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3293, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3293, allocations: 4 kB / 1.02 GB, free: 8.621 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.0004018/0.3297, allocations: 371.2 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3297, allocations: 12.92 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.3298, allocations: 8.844 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.33, allocations: 192.1 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.33, allocations: 8.375 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.33, allocations: 4.375 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3301, allocations: 99.86 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3302, allocations: 192 / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3302, allocations: 7.938 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3302, allocations: 4 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.3303, allocations: 35.92 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.3308, allocations: 436.5 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.3308, allocations: 41.34 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3309, allocations: 17.78 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.3309, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3309, allocations: 30.56 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.3309, allocations: 8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.3311, allocations: 57.47 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3311, allocations: 81.05 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3313, allocations: 160.7 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3313, allocations: 25.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.3314, allocations: 104 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.3314, allocations: 19.83 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.3314, allocations: 9.969 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3315, allocations: 326.8 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.3315, allocations: 8 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.3316, allocations: 17.66 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.3316, allocations: 25.72 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3316, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.547e-05/0.3317, allocations: 65.53 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3317, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3317, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3318, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.3318, allocations: 8 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3318, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.3319, allocations: 15.94 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3319, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 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 7.852e-05/0.332, allocations: 118.5 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.332, allocations: 19.95 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.332, allocations: 15.75 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.332, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.332, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3321, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.3324, allocations: 470.8 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3324, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.3325, allocations: 12.05 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3325, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3325, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3325, allocations: 4 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3325, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.828e-05/0.3326, allocations: 73.84 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.3327, allocations: 93 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3327, allocations: 4.031 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.3327, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.3327, allocations: 3.938 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3327, allocations: 4 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.3328, allocations: 121.3 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3328, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001858/0.333, allocations: 4 kB / 1.023 GB, free: 5.16 MB / 0.795 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.0001116/0.3331, allocations: 103.2 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.3332, allocations: 23.92 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3332, allocations: 4 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.3332, allocations: 11.88 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3334, allocations: 7.938 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.3337, allocations: 162.8 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3339, allocations: 0.697 MB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.334, allocations: 8.422 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.334, allocations: 11.44 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.334, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of Templates: time 0.002435/0.3364, allocations: 454 kB / 1.024 GB, free: 3.621 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches