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.001806/0.001806, allocations: 106.5 kB / 16.37 MB, free: 6.012 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.002018/0.002018, allocations: 198.5 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.17 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 65.12 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3372, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002466/0.3397, allocations: 0.8287 MB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.3399, allocations: 47.78 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.34, allocations: 4 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.34, allocations: 3.938 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.3401, allocations: 7.875 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.533e-05/0.3402, allocations: 19.97 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3403, allocations: 67.78 kB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3405, allocations: 39.92 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.3405, allocations: 27.86 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3406, allocations: 27.84 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3406, allocations: 4 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.3407, allocations: 8 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.3407, allocations: 15.92 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.3407, allocations: 35.75 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3409, allocations: 79.64 kB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3409, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3409, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3409, allocations: 0 / 0.9523 GB, free: 6.805 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.0004958/0.3414, allocations: 379.2 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3415, allocations: 8.031 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3415, allocations: 12.84 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3417, allocations: 200.1 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3418, allocations: 12.38 kB / 0.9529 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3418, allocations: 8.375 kB / 0.9529 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3419, allocations: 87.86 kB / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.342, allocations: 192 / 0.953 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.342, allocations: 7.938 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.342, allocations: 4 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.3421, allocations: 39.92 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.3426, allocations: 432.7 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.581e-05/0.3427, allocations: 37.25 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.3427, allocations: 17.78 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.3428, allocations: 8 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3428, allocations: 30.56 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3428, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001852/0.343, allocations: 61.45 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.343, allocations: 81.11 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.3432, allocations: 164.4 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3432, allocations: 29.95 kB / 0.9539 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3433, allocations: 112 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.3433, allocations: 3.906 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3433, allocations: 21.66 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3435, allocations: 314.8 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.3435, allocations: 8 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3435, allocations: 21.66 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.3436, allocations: 33.7 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3436, allocations: 0 / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.808e-05/0.3436, allocations: 57.48 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3437, allocations: 6.188 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3437, allocations: 7.938 kB / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3437, allocations: 0 / 0.9544 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.3438, allocations: 11.98 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3438, allocations: 0 / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.3438, allocations: 11.84 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3438, allocations: 4.062 kB / 0.9544 GB, free: 4.355 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.746e-05/0.3439, allocations: 115.6 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.344, allocations: 7.906 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.344, allocations: 11.81 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.344, allocations: 0 / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.344, allocations: 0 / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.344, allocations: 7.984 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.3444, allocations: 474.8 kB / 0.955 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3444, allocations: 4 kB / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.3444, allocations: 0 / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3444, allocations: 7.938 kB / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3444, allocations: 0 / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3445, allocations: 0 / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3445, allocations: 0 / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.06e-05/0.3446, allocations: 89.89 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.3446, allocations: 85.02 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3446, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.3447, allocations: 4 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.3447, allocations: 3.984 kB / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3447, allocations: 0 / 0.9552 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.953e-05/0.3448, allocations: 117.3 kB / 0.9553 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3448, allocations: 0 / 0.9553 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001914/0.345, allocations: 20.02 kB / 0.9553 GB, free: 3.316 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.000143/0.3451, allocations: 105.7 kB / 0.9554 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.3453, allocations: 16 kB / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3453, allocations: 0 / 0.9555 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.3453, allocations: 7.938 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.3455, allocations: 11.94 kB / 0.9555 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.3458, allocations: 167 kB / 0.9556 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3461, allocations: 0.6961 MB / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.3462, allocations: 8.422 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.3462, allocations: 11.44 kB / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3462, allocations: 0 / 0.9563 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.002558/0.3488, allocations: 456.5 kB / 0.9568 GB, free: 1.785 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 cvode -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