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.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_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.001457/0.001457, allocations: 112.6 kB / 16.37 MB, free: 6 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.001582/0.001582, allocations: 196 kB / 17.31 MB, free: 5.613 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002644, allocations: 67.72 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3084, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002238/0.3107, allocations: 0.8287 MB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.3108, allocations: 35.84 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.3109, allocations: 7.938 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3109, allocations: 3.938 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.311, allocations: 15.86 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.389e-05/0.3111, allocations: 15.98 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.3112, allocations: 59.84 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3114, allocations: 39.92 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.3114, allocations: 27.86 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.3115, allocations: 31.84 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3115, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3115, allocations: 8 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3116, allocations: 15.92 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.3116, allocations: 39.73 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3117, allocations: 67.66 kB / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3118, allocations: 4 kB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3118, allocations: 0 / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3118, allocations: 4 kB / 0.9523 GB, free: 6.848 MB / 0.7325 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.0005186/0.3123, allocations: 379.1 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3123, allocations: 12.03 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.3124, allocations: 12.84 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3126, allocations: 188.2 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3126, allocations: 8.312 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.3126, allocations: 8.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3128, allocations: 99.84 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3128, allocations: 192 / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3128, allocations: 7.938 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3128, allocations: 4 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.3129, allocations: 39.92 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.3134, allocations: 428.7 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.86e-05/0.3135, allocations: 41.25 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.3136, allocations: 17.77 kB / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.3136, allocations: 0 / 0.9535 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3136, allocations: 50.5 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3136, allocations: 0 / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001661/0.3138, allocations: 53.48 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.3139, allocations: 77.11 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.314, allocations: 164.4 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.314, allocations: 29.7 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.3141, allocations: 104 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3141, allocations: 8.156 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.3141, allocations: 21.72 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3143, allocations: 322.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.3143, allocations: 4 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.3143, allocations: 25.64 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.3144, allocations: 21.72 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3144, allocations: 0 / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.285e-05/0.3145, allocations: 65.55 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3145, allocations: 10.48 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3145, allocations: 3.938 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3145, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.3146, allocations: 8 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3146, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.3146, allocations: 11.84 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.3146, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 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.366e-05/0.3147, allocations: 117.9 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3148, allocations: 7.906 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.3148, allocations: 19.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3148, allocations: 96 / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3148, allocations: 3.984 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3148, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.3152, allocations: 466.8 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3152, allocations: 4.062 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.3152, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3153, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3153, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3153, allocations: 7.938 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3153, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.356e-05/0.3154, allocations: 81.83 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.3154, allocations: 89.05 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3155, allocations: 3.984 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.3155, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.3155, allocations: 4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3155, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.864e-05/0.3156, allocations: 125.3 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3156, allocations: 3.938 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00018/0.3158, allocations: 8 kB / 0.9553 GB, free: 3.367 MB / 0.7325 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.0001221/0.3159, allocations: 103.2 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.316, allocations: 15.94 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.316, allocations: 4 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.316, allocations: 11.92 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.3162, allocations: 10 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3165, allocations: 166.7 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3168, allocations: 0.7039 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.3168, allocations: 4.438 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.3168, allocations: 11.44 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3169, allocations: 0 / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Templates: time 0.002362/0.3192, allocations: 456.5 kB / 0.9568 GB, free: 1.832 MB / 0.7325 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 -s gbode -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/jenkins1/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