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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001464/0.001464, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.27 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3447, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002389/0.3471, allocations: 0.8764 MB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.3473, allocations: 43.78 kB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.3473, allocations: 0 / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.3474, allocations: 3.938 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.798e-05/0.3475, allocations: 11.92 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.359e-05/0.3476, allocations: 12 kB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3477, allocations: 63.75 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3478, allocations: 47.95 kB / 1.053 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.3479, allocations: 27.84 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.3479, allocations: 35.73 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.348, allocations: 4 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.348, allocations: 4 kB / 1.053 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.348, allocations: 11.98 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.3481, allocations: 27.75 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3482, allocations: 71.97 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3482, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3482, allocations: 0 / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3482, allocations: 4 kB / 1.053 GB, free: 7.648 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.0004496/0.3486, allocations: 379.3 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3487, allocations: 12.03 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3487, allocations: 12.78 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.349, allocations: 192.1 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.349, allocations: 4.375 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.349, allocations: 8.375 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3492, allocations: 93.58 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3492, allocations: 192 / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3492, allocations: 7.938 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3492, allocations: 8 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3493, allocations: 39.92 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.3499, allocations: 432.5 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.35, allocations: 49.34 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.35, allocations: 13.78 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.35, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3501, allocations: 42.56 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3501, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.3503, allocations: 57.72 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3503, allocations: 81.11 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.3505, allocations: 161.3 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3505, allocations: 25.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3506, allocations: 107.9 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.3506, allocations: 11.89 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3506, allocations: 17.72 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3507, allocations: 318.8 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.3508, allocations: 8 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.3508, allocations: 17.72 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.3508, allocations: 21.72 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3508, allocations: 0 / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.149e-05/0.3509, allocations: 65.53 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3509, allocations: 4 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.351, allocations: 8 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.351, allocations: 4 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.3511, allocations: 4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3511, allocations: 7.922 kB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.3511, allocations: 11.84 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3511, allocations: 7.922 kB / 1.055 GB, free: 5.199 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 0.0001097/0.3512, allocations: 113.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3513, allocations: 15.92 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.3513, allocations: 15.81 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3513, allocations: 4 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3513, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3513, allocations: 0 / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3517, allocations: 466.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3517, allocations: 3.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.3518, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3518, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3518, allocations: 4.062 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3518, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3518, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.317e-05/0.3519, allocations: 77.84 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3519, allocations: 89 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.352, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.352, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.352, allocations: 11.97 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.352, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.197e-05/0.3521, allocations: 125.5 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3521, allocations: 0 / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000186/0.3523, allocations: 8 kB / 1.056 GB, free: 4.164 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.0001461/0.3525, allocations: 99.23 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.085e-05/0.3526, allocations: 16 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3526, allocations: 4.125 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.3526, allocations: 7.938 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.3528, allocations: 8.969 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.3531, allocations: 192.6 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3535, allocations: 0.6887 MB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.3535, allocations: 8.422 kB / 1.057 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3535, allocations: 11.44 kB / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3535, allocations: 0 / 1.057 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of Templates: time 0.002477/0.356, allocations: 444.4 kB / 1.058 GB, free: 2.633 MB / 0.8106 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/jenkins/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