Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008928/0.008928, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.002105/0.002105, allocations: 194.2 kB / 16.67 MB, free: 5.969 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.81 kB / 0.9509 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002302/0.3425, allocations: 0.8176 MB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.3427, allocations: 51.78 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.3427, allocations: 0 / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.3428, allocations: 11.86 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3429, allocations: 7.875 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.24e-05/0.343, allocations: 23.98 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3431, allocations: 59.84 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3433, allocations: 43.95 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.3434, allocations: 31.81 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.3435, allocations: 27.84 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3435, allocations: 8 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3435, allocations: 4 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.3436, allocations: 19.92 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.3436, allocations: 39.73 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.3438, allocations: 67.59 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3438, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3438, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3438, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 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.0006277/0.3444, allocations: 379.3 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3445, allocations: 8.031 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.3446, allocations: 16.75 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3448, allocations: 196.1 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3449, allocations: 4.375 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3449, allocations: 8.375 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3451, allocations: 95.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3451, allocations: 4.188 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3451, allocations: 7.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3452, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.3453, allocations: 39.92 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.3459, allocations: 428.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.729e-05/0.346, allocations: 37.16 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.346, allocations: 29.86 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.346, allocations: 7.922 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3461, allocations: 30.56 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3461, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002056/0.3463, allocations: 65.58 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3463, allocations: 77.11 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3465, allocations: 157.3 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3465, allocations: 25.7 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3466, allocations: 104 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.3467, allocations: 7.844 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3467, allocations: 17.72 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3469, allocations: 323 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.3469, allocations: 8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.3469, allocations: 21.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.347, allocations: 25.66 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.347, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.928e-05/0.3471, allocations: 65.53 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3471, allocations: 8.062 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3471, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3471, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.3472, allocations: 8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3472, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3473, allocations: 7.844 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3473, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 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.287e-05/0.3474, allocations: 113.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.3474, allocations: 7.906 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.3475, allocations: 19.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3475, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3475, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3475, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3479, allocations: 470.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.348, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.348, allocations: 4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.348, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.348, allocations: 4.062 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.348, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.348, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.3481, allocations: 85.77 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.3482, allocations: 89 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3482, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.3482, allocations: 4.031 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.3483, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3483, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.3484, allocations: 125 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.773e-06/0.3484, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001922/0.3486, allocations: 7.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 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.0002064/0.3488, allocations: 99.78 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.3489, allocations: 23.92 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3489, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/0.3489, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.3491, allocations: 13.83 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.3494, allocations: 168.6 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3497, allocations: 0.6965 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.3497, allocations: 8.438 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.3498, allocations: 7.438 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3498, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.00262/0.3524, allocations: 459.8 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches