Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006744/0.006744, allocations: 99.62 kB / 15.73 MB, free: 6.445 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.001054/0.001055, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 63.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002722/0.3678, allocations: 0.8178 MB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002106/0.3681, allocations: 47.78 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.3682, allocations: 3.938 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.778e-05/0.3683, allocations: 11.81 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3684, allocations: 19.86 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.502e-05/0.3685, allocations: 19.98 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3687, allocations: 51.91 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.369, allocations: 43.95 kB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.3691, allocations: 31.86 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.3692, allocations: 27.8 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3692, allocations: 8 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.3692, allocations: 8 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.3693, allocations: 19.86 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.3693, allocations: 31.81 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3696, allocations: 75.56 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3696, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3696, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3696, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 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.0006824/0.3703, allocations: 383.1 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.3704, allocations: 12.03 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.3704, allocations: 12.84 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.3708, allocations: 196.2 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3708, allocations: 8.375 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3708, allocations: 8.375 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3711, allocations: 91.89 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3711, allocations: 8.125 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3711, allocations: 7.938 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3711, allocations: 4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-05/0.3712, allocations: 35.98 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.3719, allocations: 436.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.438e-05/0.372, allocations: 45.16 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.3721, allocations: 13.78 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3721, allocations: 0 / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3721, allocations: 38.5 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3721, allocations: 0 / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.3724, allocations: 61.8 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.3724, allocations: 81.05 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3726, allocations: 155.9 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3726, allocations: 29.7 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3729, allocations: 100.1 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3729, allocations: 11.89 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.3729, allocations: 17.66 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3731, allocations: 322.8 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3731, allocations: 8.031 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.3731, allocations: 17.72 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.3732, allocations: 25.7 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3732, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.3734, allocations: 65.55 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3734, allocations: 4 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3734, allocations: 8 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3734, allocations: 0 / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.3735, allocations: 8 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3735, allocations: 3.984 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.3736, allocations: 7.938 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3736, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 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 9.544e-05/0.3737, allocations: 113.8 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.3737, allocations: 7.953 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3738, allocations: 15.81 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3738, allocations: 4 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3738, allocations: 3.938 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3738, allocations: 3.984 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.3743, allocations: 470.7 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3744, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3744, allocations: 4 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3744, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3744, allocations: 4.062 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3744, allocations: 4 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3744, allocations: 0 / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.941e-05/0.3745, allocations: 85.81 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3747, allocations: 85.06 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3747, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.3748, allocations: 4.031 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3748, allocations: 8.062 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3748, allocations: 4 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.153e-05/0.3749, allocations: 121.1 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3749, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000237/0.3751, allocations: 7.938 kB / 1.171 GB, free: 2.125 MB / 0.92 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.0001491/0.3753, allocations: 103.2 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3754, allocations: 27.94 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3754, allocations: 0 / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.3754, allocations: 4 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3756, allocations: 9.5 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.376, allocations: 170.5 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3763, allocations: 0.6931 MB / 1.172 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.3763, allocations: 8.422 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3764, allocations: 11.44 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of SimCode: time 6.62e-07/0.3764, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of Templates: time 0.003143/0.3795, allocations: 456.5 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches