Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.88 kB / 16.02 MB, free: 76 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.001528/0.001528, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005574, allocations: 14.14 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3534, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001221/0.3546, allocations: 0.5492 MB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.3548, allocations: 39.78 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.3549, allocations: 0 / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.3549, allocations: 3.938 kB / 1.06 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.355, allocations: 15.86 kB / 1.06 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.693e-05/0.3551, allocations: 12 kB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3552, allocations: 63.75 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.3554, allocations: 43.95 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.3554, allocations: 19.86 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.3555, allocations: 15.88 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3555, allocations: 4 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.3555, allocations: 4 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3556, allocations: 19.84 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.3556, allocations: 53.45 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.3557, allocations: 48.17 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3557, allocations: 0 / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3557, allocations: 0 / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3558, allocations: 0 / 1.06 GB, free: 4.09 MB / 0.8106 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.0004647/0.3562, allocations: 363.3 kB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3563, allocations: 12.03 kB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3563, allocations: 20.84 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.3566, allocations: 192.2 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3566, allocations: 4.312 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3566, allocations: 12.38 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3568, allocations: 89.19 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.3568, allocations: 192 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3568, allocations: 7.938 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3569, allocations: 4 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.3569, allocations: 39.92 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.3576, allocations: 432.6 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.3576, allocations: 41.19 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.284e-05/0.3577, allocations: 25.83 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3577, allocations: 0 / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3577, allocations: 34.56 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3577, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.3579, allocations: 53.48 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.358, allocations: 81.36 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3582, allocations: 164.5 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3582, allocations: 29.7 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.3583, allocations: 107.9 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.3583, allocations: 0 / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.3583, allocations: 9.719 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3585, allocations: 326.8 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.3585, allocations: 11.94 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.3585, allocations: 25.64 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.3586, allocations: 25.72 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3586, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.853e-05/0.3587, allocations: 57.55 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3587, allocations: 4 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3587, allocations: 3.938 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3587, allocations: 3.984 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.3588, allocations: 12.06 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3588, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.3588, allocations: 11.84 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3588, allocations: 4 kB / 1.062 GB, free: 1.664 MB / 0.8106 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.89e-05/0.3589, allocations: 113.8 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.359, allocations: 7.906 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.359, allocations: 11.8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.359, allocations: 4 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.359, allocations: 0 / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.359, allocations: 4 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.3594, allocations: 470.8 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3595, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.3595, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3595, allocations: 96 / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3595, allocations: 3.984 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3595, allocations: 3.938 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3595, allocations: 4.062 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.3596, allocations: 81.83 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.3597, allocations: 89.02 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3597, allocations: 3.984 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.3597, allocations: 4 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.3598, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3598, allocations: 8.031 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.936e-05/0.3599, allocations: 118.1 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3599, allocations: 4 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001851/0.3601, allocations: 7.906 kB / 1.063 GB, free: 0.6289 MB / 0.8106 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.0001403/0.3602, allocations: 107.2 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.3603, allocations: 15.94 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3603, allocations: 0 / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.3603, allocations: 8.125 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.3605, allocations: 19.86 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3609, allocations: 194.3 kB / 1.064 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3612, allocations: 0.6967 MB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3612, allocations: 15.38 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3612, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002383/0.3636, allocations: 0.8482 MB / 1.065 GB, free: 14.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches