Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, 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.00194/0.00194, allocations: 198.1 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.408/2.408, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6826, allocations: 140.3 MB / 0.9496 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002298/0.6849, allocations: 0.8803 MB / 0.9504 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.6851, allocations: 53.59 kB / 0.9505 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.6852, allocations: 1.25 kB / 0.9505 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.6853, allocations: 3.938 kB / 0.9505 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6854, allocations: 5.219 kB / 0.9505 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-05/0.6855, allocations: 15.73 kB / 0.9505 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.6856, allocations: 54.47 kB / 0.9506 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.6858, allocations: 47.03 kB / 0.9506 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.6858, allocations: 23.31 kB / 0.9506 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.6859, allocations: 28.19 kB / 0.9507 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.6859, allocations: 4.406 kB / 0.9507 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.6859, allocations: 3.625 kB / 0.9507 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.686, allocations: 19.58 kB / 0.9507 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.686, allocations: 28.77 kB / 0.9507 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.109e-05/0.6861, allocations: 49.09 kB / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6861, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6861, allocations: 0 / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6861, allocations: 0 / 0.9508 GB, free: 8.141 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.0003895/0.6865, allocations: 386.6 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6866, allocations: 9.75 kB / 0.9511 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.6866, allocations: 9.125 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.6868, allocations: 190.4 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6868, allocations: 8.312 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.6868, allocations: 8.531 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.687, allocations: 95.47 kB / 0.9514 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.687, allocations: 4.188 kB / 0.9514 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.687, allocations: 5.312 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.687, allocations: 1.375 kB / 0.9514 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.6871, allocations: 40.55 kB / 0.9515 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.6876, allocations: 436.5 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.6876, allocations: 45.41 kB / 0.9519 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.6877, allocations: 19.2 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.6877, allocations: 1.375 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.6877, allocations: 35.94 kB / 0.952 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.6877, allocations: 0 / 0.952 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.6879, allocations: 59.23 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.688, allocations: 77.11 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.6881, allocations: 167.4 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.6881, allocations: 25.7 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.6882, allocations: 109.4 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.6882, allocations: 3.906 kB / 0.9524 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.6882, allocations: 17.84 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.6883, allocations: 325.8 kB / 0.9527 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.6883, allocations: 2.75 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.6883, allocations: 23.2 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.6884, allocations: 21.97 kB / 0.9528 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6884, allocations: 3.938 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.433e-05/0.6885, allocations: 63.45 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6885, allocations: 9.484 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6885, allocations: 3.938 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6885, allocations: 1.375 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.6886, allocations: 5.5 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6886, allocations: 1.375 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.6886, allocations: 1.375 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-06/0.6886, allocations: 1.375 kB / 0.9529 GB, free: 5.973 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.335e-05/0.6887, allocations: 117.9 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.6888, allocations: 12.06 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.6888, allocations: 22.48 kB / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.6888, allocations: 0 / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6888, allocations: 1.375 kB / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6888, allocations: 1.375 kB / 0.953 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.6891, allocations: 470 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6891, allocations: 4 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.6892, allocations: 6.812 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6892, allocations: 1.375 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6892, allocations: 1.375 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.6892, allocations: 0 / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6892, allocations: 0.9375 kB / 0.9535 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.335e-05/0.6893, allocations: 82.58 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.6893, allocations: 91.75 kB / 0.9537 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.6893, allocations: 5.531 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.6894, allocations: 0 / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.6894, allocations: 9.188 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.6894, allocations: 1.5 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.6895, allocations: 121 kB / 0.9538 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6895, allocations: 0 / 0.9538 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002008/0.6897, allocations: 7.031 kB / 0.9538 GB, free: 5.016 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.0001142/0.6898, allocations: 99.45 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.6899, allocations: 18.38 kB / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6899, allocations: 0 / 0.9539 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.6899, allocations: 12.14 kB / 0.9539 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.6901, allocations: 12.09 kB / 0.9539 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.6905, allocations: 208.6 kB / 0.9541 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.6906, allocations: 0.6949 MB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.6907, allocations: 11.25 kB / 0.9548 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.6907, allocations: 0 / 0.9548 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.002524/0.6932, allocations: 0.8551 MB / 0.9557 GB, free: 3.543 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches