Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.007885/0.007885, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001396/0.001397, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.719/2.719, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 64.14 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3624, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002548/0.365, allocations: 0.8256 MB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001725/0.3652, allocations: 47.78 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.3653, allocations: 4 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.3654, allocations: 7.875 kB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.3655, allocations: 11.86 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.755e-05/0.3656, allocations: 19.92 kB / 1.168 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3657, allocations: 59.91 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3659, allocations: 43.92 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.185e-05/0.3659, allocations: 27.86 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.366, allocations: 35.72 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.366, allocations: 8 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.3661, allocations: 8 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.3661, allocations: 19.92 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.3661, allocations: 35.8 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3663, allocations: 67.59 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3663, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.467e-06/0.3663, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3663, allocations: 0 / 1.168 GB, free: 5.562 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.0005127/0.3668, allocations: 383.1 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3669, allocations: 8.031 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.3669, allocations: 20.84 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3672, allocations: 196.2 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3672, allocations: 4.375 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3672, allocations: 8.375 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3674, allocations: 99.81 kB / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3674, allocations: 192 / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3674, allocations: 7.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3674, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.3675, allocations: 39.98 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.3681, allocations: 432.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.3682, allocations: 33.16 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.3682, allocations: 25.84 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3682, allocations: 3.984 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3683, allocations: 34.59 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3683, allocations: 0 / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.3685, allocations: 61.53 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3685, allocations: 77.11 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3687, allocations: 162.2 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.3687, allocations: 25.7 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3688, allocations: 104.1 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.3688, allocations: 7.891 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3688, allocations: 17.72 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.369, allocations: 318.8 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.369, allocations: 8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.369, allocations: 25.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.3691, allocations: 25.66 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3691, allocations: 3.938 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.908e-05/0.3692, allocations: 57.61 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3692, allocations: 10.03 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3692, allocations: 7.922 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3692, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.3693, allocations: 8.062 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3693, allocations: 7.938 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.3693, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.3694, allocations: 4 kB / 1.17 GB, free: 3.121 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.37e-05/0.3695, allocations: 113.8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.3695, allocations: 7.953 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3695, allocations: 11.8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3695, allocations: 4 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3696, allocations: 3.938 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3696, allocations: 4.094 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.37, allocations: 478.7 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.37, allocations: 3.984 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.37, allocations: 4 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.37, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.37, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.37, allocations: 7.984 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3701, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.3702, allocations: 89.88 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.3702, allocations: 81.06 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3702, allocations: 7.984 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.3703, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3703, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.3703, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.624e-05/0.3704, allocations: 123.3 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3704, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000191/0.3706, allocations: 15.94 kB / 1.171 GB, free: 2.062 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.0001322/0.3707, allocations: 99.25 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.3708, allocations: 19.94 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3708, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.3708, allocations: 8.172 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.371, allocations: 16 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.3713, allocations: 158.5 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3716, allocations: 0.6924 MB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3717, allocations: 8.422 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3717, allocations: 15.44 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.3717, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of Templates: time 0.00294/0.3746, allocations: 456.5 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches