Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.00111/0.00111, allocations: 112.6 kB / 16.37 MB, free: 6 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.001144/0.001144, allocations: 196 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002678/0.3654, allocations: 0.841 MB / 1.028 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.3656, allocations: 39.78 kB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.3656, allocations: 0 / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.3657, allocations: 7.875 kB / 1.028 GB, free: 1.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.3658, allocations: 11.92 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.312e-05/0.3659, allocations: 19.98 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.366, allocations: 63.78 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3662, allocations: 35.97 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.3663, allocations: 35.84 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.3664, allocations: 35.78 kB / 1.028 GB, free: 1 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.3664, allocations: 4 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.3664, allocations: 8 kB / 1.028 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.3664, allocations: 11.94 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.3665, allocations: 35.8 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.3666, allocations: 71.64 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3667, allocations: 0 / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3667, allocations: 0 / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3667, allocations: 4 kB / 1.028 GB, free: 0.8672 MB / 0.795 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.0005742/0.3673, allocations: 375.2 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3673, allocations: 12.03 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.3674, allocations: 12.84 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3677, allocations: 188.2 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3677, allocations: 12.22 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3677, allocations: 8.375 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3679, allocations: 91.94 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3679, allocations: 4.188 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3679, allocations: 7.938 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3679, allocations: 4 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.368, allocations: 39.92 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.3687, allocations: 432.5 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.3688, allocations: 45.34 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.3688, allocations: 13.78 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.3688, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3689, allocations: 42.55 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3689, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002136/0.3691, allocations: 57.7 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3692, allocations: 77.11 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3693, allocations: 159.3 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3693, allocations: 29.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.3694, allocations: 104 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.3694, allocations: 15.83 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3695, allocations: 17.72 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3696, allocations: 318.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.3697, allocations: 8.031 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.3697, allocations: 21.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.3697, allocations: 21.72 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3697, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.699e-05/0.3698, allocations: 61.55 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3699, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3699, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3699, allocations: 7.984 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.37, allocations: 8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.37, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.37, allocations: 11.84 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.37, allocations: 0 / 1.03 GB, free: 14.43 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 9.536e-05/0.3701, allocations: 117.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.3702, allocations: 7.906 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.3702, allocations: 23.73 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3702, allocations: 4.094 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3703, allocations: 3.984 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3703, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.3707, allocations: 466.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3707, allocations: 3.938 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.3707, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3707, allocations: 3.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3707, allocations: 4.062 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3707, allocations: 7.984 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3707, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.393e-05/0.3708, allocations: 81.83 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.3709, allocations: 85.02 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3709, allocations: 3.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.3709, allocations: 4.031 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.371, allocations: 7.938 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.371, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.3711, allocations: 126.3 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3711, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001956/0.3713, allocations: 8 kB / 1.031 GB, free: 13.38 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.0001539/0.3714, allocations: 95.25 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.3715, allocations: 16 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3716, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-05/0.3716, allocations: 7.938 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.3718, allocations: 14.58 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3722, allocations: 161.5 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3725, allocations: 0.6965 MB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.3726, allocations: 8.422 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.3726, allocations: 11.44 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3726, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.002826/0.3754, allocations: 448.5 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches