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.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002253/0.002253, allocations: 195 kB / 16.26 MB, free: 6.621 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.535/2.535, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8267, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002537/0.8293, allocations: 0.8804 MB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.8295, allocations: 40.72 kB / 0.95 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.8296, allocations: 5.312 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.22e-05/0.8296, allocations: 13.39 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.308e-05/0.8298, allocations: 0 / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.635e-05/0.8298, allocations: 19.83 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.8299, allocations: 55.52 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.8301, allocations: 44.27 kB / 0.9501 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.8302, allocations: 27.73 kB / 0.9502 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.8303, allocations: 32.41 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.8303, allocations: 5.688 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.8303, allocations: 6.438 kB / 0.9502 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.8303, allocations: 14.16 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.8304, allocations: 34.39 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.8306, allocations: 70.48 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.8306, allocations: 1.406 kB / 0.9503 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8306, allocations: 3.938 kB / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.8306, allocations: 4 kB / 0.9503 GB, free: 8.234 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.0004813/0.8311, allocations: 383.7 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8312, allocations: 9.5 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.8312, allocations: 9.969 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.8314, allocations: 186.2 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.8314, allocations: 3.062 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.8315, allocations: 9.281 kB / 0.9509 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.8316, allocations: 102 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.8316, allocations: 192 / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8317, allocations: 9.188 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.8317, allocations: 5.266 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.8318, allocations: 35.95 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.8324, allocations: 436.7 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.8325, allocations: 37.12 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.8325, allocations: 24.02 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.8325, allocations: 1.25 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.8326, allocations: 40.38 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.8326, allocations: 0 / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001803/0.8328, allocations: 53.64 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.8328, allocations: 78.33 kB / 0.9517 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.8329, allocations: 163.3 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.833, allocations: 26.92 kB / 0.9519 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.833, allocations: 111.3 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.833, allocations: 9.328 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.8331, allocations: 22.22 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.8331, allocations: 320.4 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.8332, allocations: 2.969 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.8332, allocations: 23.27 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.8332, allocations: 25.69 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8332, allocations: 5.312 kB / 0.9524 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.893e-05/0.8333, allocations: 55.61 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.8334, allocations: 10.2 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.8334, allocations: 9.188 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8334, allocations: 0 / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.8335, allocations: 6.031 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8335, allocations: 0.7188 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.8335, allocations: 2.656 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8335, allocations: 1.406 kB / 0.9524 GB, free: 6.07 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 6.268e-05/0.8336, allocations: 116.7 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.8336, allocations: 8.062 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.8337, allocations: 18.61 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8337, allocations: 1.375 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8337, allocations: 1.438 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8337, allocations: 0 / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.834, allocations: 477.6 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.834, allocations: 1.094 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.8341, allocations: 2.656 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8341, allocations: 1.625 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.8341, allocations: 1 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8341, allocations: 3.938 kB / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8341, allocations: 1.094 kB / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.73e-05/0.8342, allocations: 90.64 kB / 0.9531 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.8342, allocations: 92.06 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.8342, allocations: 1.344 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.8343, allocations: 0 / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.8343, allocations: 1.281 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8343, allocations: 1.781 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.8344, allocations: 128.3 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8344, allocations: 0 / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001993/0.8346, allocations: 7.375 kB / 0.9533 GB, free: 5.113 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 0.0001141/0.8347, allocations: 100.8 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.8348, allocations: 17.66 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8348, allocations: 1.406 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.8348, allocations: 7.234 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.835, allocations: 11.59 kB / 0.9535 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.8353, allocations: 186.7 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.8355, allocations: 0.6984 MB / 0.9543 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.8355, allocations: 8.812 kB / 0.9544 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.8356, allocations: 10.88 kB / 0.9544 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8356, allocations: 0.9375 kB / 0.9544 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of Templates: time 0.002782/0.8384, allocations: 460 kB / 0.9548 GB, free: 3.867 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/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