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.001276/0.001276, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001465/0.001466, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.508/2.508, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 11.98 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8697, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001095/0.8708, allocations: 0.517 MB / 0.954 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.871, allocations: 41.27 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.871, allocations: 2.406 kB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.8711, allocations: 7.938 kB / 0.9541 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.8711, allocations: 5.203 kB / 0.9541 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.991e-05/0.8712, allocations: 15.77 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.8713, allocations: 39.44 kB / 0.9541 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.8714, allocations: 29.75 kB / 0.9542 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.8715, allocations: 13.56 kB / 0.9542 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.8716, allocations: 28.66 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.8716, allocations: 1.219 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.8716, allocations: 2.688 kB / 0.9542 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.8716, allocations: 5.344 kB / 0.9542 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.8717, allocations: 41.59 kB / 0.9542 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.8718, allocations: 50.31 kB / 0.9543 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.8718, allocations: 0 / 0.9543 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8718, allocations: 0 / 0.9543 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.8718, allocations: 0 / 0.9543 GB, free: 7.484 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.0003766/0.8722, allocations: 368.2 kB / 0.9546 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.8722, allocations: 9.938 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.8723, allocations: 15.7 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.8725, allocations: 193.9 kB / 0.9549 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.8725, allocations: 3.031 kB / 0.9549 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.8725, allocations: 8.469 kB / 0.9549 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.8727, allocations: 87.83 kB / 0.9549 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8727, allocations: 3.938 kB / 0.9549 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.8727, allocations: 5.25 kB / 0.955 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8727, allocations: 2.75 kB / 0.955 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.597e-05/0.8728, allocations: 38.38 kB / 0.955 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.8734, allocations: 442.5 kB / 0.9554 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.8734, allocations: 37.55 kB / 0.9555 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.8734, allocations: 0 / 0.9555 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.8735, allocations: 35.72 kB / 0.9555 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.8735, allocations: 0 / 0.9555 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.8737, allocations: 54.64 kB / 0.9555 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8737, allocations: 82.48 kB / 0.9556 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.8739, allocations: 162.8 kB / 0.9558 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.8739, allocations: 29.64 kB / 0.9558 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.8739, allocations: 104.8 kB / 0.9559 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.874, allocations: 9 kB / 0.9559 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.874, allocations: 0 / 0.9559 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.874, allocations: 324.9 kB / 0.9562 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.8741, allocations: 11.62 kB / 0.9562 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.8741, allocations: 19.02 kB / 0.9562 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.8741, allocations: 8.344 kB / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8741, allocations: 0 / 0.9563 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.296e-05/0.8742, allocations: 58.52 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8742, allocations: 6.406 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8742, allocations: 1.125 kB / 0.9563 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8743, allocations: 6.156 kB / 0.9563 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.8743, allocations: 8.297 kB / 0.9563 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8744, allocations: 1.969 kB / 0.9563 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.8744, allocations: 1.281 kB / 0.9563 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.8744, allocations: 1.344 kB / 0.9563 GB, free: 5.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.8745, allocations: 118.2 kB / 0.9564 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.8745, allocations: 8.438 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.8746, allocations: 14.36 kB / 0.9565 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8746, allocations: 0.9062 kB / 0.9565 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8746, allocations: 8.984 kB / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.8746, allocations: 0.9062 kB / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.8749, allocations: 473.7 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8749, allocations: 1.062 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.8749, allocations: 3.031 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8749, allocations: 1.156 kB / 0.9569 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.875, allocations: 7.938 kB / 0.9569 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.875, allocations: 5 kB / 0.9569 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.875, allocations: 0.875 kB / 0.957 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.065e-05/0.875, allocations: 92.12 kB / 0.957 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.8751, allocations: 83.95 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8751, allocations: 1.188 kB / 0.9571 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.8751, allocations: 9.109 kB / 0.9571 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.8751, allocations: 13.17 kB / 0.9571 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.8752, allocations: 5.469 kB / 0.9571 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.508e-05/0.8752, allocations: 120.3 kB / 0.9573 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8752, allocations: 0 / 0.9573 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001853/0.8754, allocations: 11.28 kB / 0.9573 GB, free: 4.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.8755, allocations: 100 kB / 0.9574 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.8756, allocations: 17.81 kB / 0.9574 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8756, allocations: 1.031 kB / 0.9574 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.8757, allocations: 7.094 kB / 0.9574 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.8758, allocations: 7.375 kB / 0.9574 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.8762, allocations: 181.6 kB / 0.9576 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.8763, allocations: 0.6967 MB / 0.9583 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.8763, allocations: 3.875 kB / 0.9583 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.8764, allocations: 11.78 kB / 0.9583 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8764, allocations: 0 / 0.9583 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.002524/0.8789, allocations: 415.9 kB / 0.9587 GB, free: 3.191 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches