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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001414/0.001414, 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.001886/0.001886, allocations: 200 kB / 16.79 MB, free: 6.828 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.62/1.62, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.6161, allocations: 140.3 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001953/0.6181, allocations: 0.8794 MB / 0.9504 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001003/0.6182, allocations: 40.97 kB / 0.9505 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.6183, allocations: 5.031 kB / 0.9505 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.6183, allocations: 7.922 kB / 0.9505 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.6184, allocations: 9.156 kB / 0.9505 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.432e-05/0.6185, allocations: 15.27 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.6185, allocations: 51.05 kB / 0.9506 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.6187, allocations: 42.86 kB / 0.9506 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.6188, allocations: 32.2 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.6188, allocations: 31.44 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.6188, allocations: 4.344 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.6188, allocations: 3.375 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.6189, allocations: 14.16 kB / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.6189, allocations: 30.48 kB / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.747e-05/0.619, allocations: 47.97 kB / 0.9508 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.619, allocations: 1.125 kB / 0.9508 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.619, allocations: 0 / 0.9508 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.619, allocations: 0 / 0.9508 GB, free: 8.227 MB / 0.7169 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.0003368/0.6193, allocations: 379.3 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6194, allocations: 13.22 kB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.6194, allocations: 12.75 kB / 0.9511 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.6196, allocations: 206.7 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6196, allocations: 2.875 kB / 0.9513 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.6196, allocations: 13.39 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.6198, allocations: 85.95 kB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6198, allocations: 4.125 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.6198, allocations: 9.375 kB / 0.9515 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6198, allocations: 6.531 kB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.6199, allocations: 34.73 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.6203, allocations: 437 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.6204, allocations: 41.34 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.6204, allocations: 15.5 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.6204, allocations: 5.594 kB / 0.952 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.6204, allocations: 39.78 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6205, allocations: 0 / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.6206, allocations: 58.88 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6207, allocations: 82.11 kB / 0.9521 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.6208, allocations: 162.6 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.6208, allocations: 25.7 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.6209, allocations: 108.6 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.6209, allocations: 5.156 kB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.6209, allocations: 17.34 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.912e-05/0.621, allocations: 320.8 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.621, allocations: 8.625 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.621, allocations: 18.91 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.6211, allocations: 24.8 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6211, allocations: 5.25 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.228e-05/0.6212, allocations: 55.02 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.6212, allocations: 4.625 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6212, allocations: 9.188 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6212, allocations: 1.406 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.6213, allocations: 8.234 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.6213, allocations: 5.062 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.876e-05/0.6213, allocations: 2.5 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6213, allocations: 1.438 kB / 0.9529 GB, free: 6.047 MB / 0.7169 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.521e-05/0.6214, allocations: 114.3 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.6214, allocations: 10.53 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.6215, allocations: 18.53 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6215, allocations: 1.406 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6215, allocations: 1.406 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6215, allocations: 3.984 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.6218, allocations: 474.1 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6218, allocations: 1.125 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.6218, allocations: 2.312 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6218, allocations: 1.594 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.6218, allocations: 5.344 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6218, allocations: 0 / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6218, allocations: 1.312 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.161e-05/0.6219, allocations: 90.33 kB / 0.9536 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.6219, allocations: 87.52 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.622, allocations: 1.781 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.622, allocations: 4.031 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.622, allocations: 4.984 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.622, allocations: 1.656 kB / 0.9537 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.6221, allocations: 125 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6221, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001897/0.6223, allocations: 7.375 kB / 0.9538 GB, free: 5.09 MB / 0.7169 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 9.654e-05/0.6224, allocations: 99.7 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.993e-05/0.6225, allocations: 22.78 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6225, allocations: 0 / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.6225, allocations: 4.312 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.6227, allocations: 13.22 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.6229, allocations: 213 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.6231, allocations: 0.6918 MB / 0.9548 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.6231, allocations: 11.56 kB / 0.9548 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.6231, allocations: 0 / 0.9548 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of Templates: time 0.002049/0.6252, allocations: 0.8549 MB / 0.9557 GB, free: 3.617 MB / 0.7169 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/jenkins1/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