Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 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.002326/0.002326, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.543/1.543, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.587/2.587, allocations: 390.2 MB / 0.6646 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.973/0.9747, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002993/0.9778, allocations: 0.8117 MB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.978, allocations: 41.28 kB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.9781, allocations: 1.375 kB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.9781, allocations: 11.86 kB / 0.9504 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.839e-05/0.9783, allocations: 13.19 kB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.9783, allocations: 18.73 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.9785, allocations: 56.66 kB / 0.9505 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.9787, allocations: 44.47 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.9788, allocations: 32.05 kB / 0.9506 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.9788, allocations: 27.92 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.9789, allocations: 6.875 kB / 0.9506 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.9789, allocations: 9.5 kB / 0.9506 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.9789, allocations: 18.66 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.979, allocations: 30.69 kB / 0.9507 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.9791, allocations: 74.05 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9791, allocations: 3.938 kB / 0.9508 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9791, allocations: 0 / 0.9508 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.9792, allocations: 1.375 kB / 0.9508 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.0004798/0.9796, allocations: 375.2 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9797, allocations: 8.25 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.9798, allocations: 14.34 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.98, allocations: 197.8 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.98, allocations: 8.5 kB / 0.9513 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.98, allocations: 4.5 kB / 0.9513 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9802, allocations: 90.08 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9802, allocations: 192 / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.9802, allocations: 9.297 kB / 0.9514 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.9803, allocations: 1.375 kB / 0.9514 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.9804, allocations: 44.55 kB / 0.9515 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.981, allocations: 433.1 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.981, allocations: 40 kB / 0.9519 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.9811, allocations: 24.75 kB / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.9811, allocations: 0 / 0.9519 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.9811, allocations: 31.91 kB / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.9811, allocations: 0 / 0.952 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.9814, allocations: 58.53 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9814, allocations: 82.64 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.9816, allocations: 168.4 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.9816, allocations: 25.7 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.9817, allocations: 107.8 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.9817, allocations: 9.5 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.9817, allocations: 17.19 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.9818, allocations: 325.5 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.9818, allocations: 7.5 kB / 0.9527 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.9818, allocations: 21.34 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.9819, allocations: 26.78 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9819, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.982, allocations: 60.03 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.982, allocations: 5.156 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9821, allocations: 3.938 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9821, allocations: 5.156 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.9822, allocations: 6 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.9822, allocations: 0 / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.9822, allocations: 2.781 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.9823, allocations: 1.344 kB / 0.9529 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 7.139e-05/0.9823, allocations: 125.1 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.9824, allocations: 8 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.9824, allocations: 14.84 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.9825, allocations: 1.031 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9825, allocations: 4 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9825, allocations: 1.281 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.9828, allocations: 478.6 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9829, allocations: 0 / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.9829, allocations: 6.922 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9829, allocations: 1.312 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.9829, allocations: 1.344 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9829, allocations: 4.062 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.9829, allocations: 1.312 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.983, allocations: 74.03 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.9831, allocations: 96.72 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.9831, allocations: 0 / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.9831, allocations: 1.406 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.9832, allocations: 9.344 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.9832, allocations: 1.344 kB / 0.9537 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.773e-05/0.9833, allocations: 120.6 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.082e-06/0.9833, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003013/0.9836, allocations: 10.69 kB / 0.9538 GB, free: 5.109 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.0001256/0.9837, allocations: 102.3 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.9839, allocations: 19.5 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9839, allocations: 4.125 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.9839, allocations: 11.78 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.9841, allocations: 13.91 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.9845, allocations: 154 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.9846, allocations: 0.6935 MB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.9847, allocations: 8.703 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.9847, allocations: 11.16 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.9847, allocations: 1.5 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.003495/0.9882, allocations: 457.6 kB / 0.9552 GB, free: 3.895 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches