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.001525/0.001525, allocations: 100.1 kB / 15.88 MB, free: 12 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.001707/0.001707, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.64 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2904, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002296/0.2927, allocations: 0.8842 MB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.2929, allocations: 39.78 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.293, allocations: 4 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.293, allocations: 7.922 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.2931, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.2932, allocations: 19.98 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.2933, allocations: 63.7 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.2934, allocations: 43.94 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.2935, allocations: 19.88 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.2936, allocations: 31.84 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2936, allocations: 0 / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2936, allocations: 4 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2936, allocations: 15.88 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.2937, allocations: 39.67 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.2938, allocations: 52.17 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2938, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2938, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2938, allocations: 4 kB / 1.054 GB, free: 7.016 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.0004594/0.2943, allocations: 375.3 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2943, allocations: 12.03 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.2944, allocations: 12.83 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.2946, allocations: 188.2 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2946, allocations: 8.375 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.2946, allocations: 8.375 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2948, allocations: 99.8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2948, allocations: 192 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2948, allocations: 7.938 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2948, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.2949, allocations: 39.91 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.2955, allocations: 440.6 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.2956, allocations: 37.25 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.2956, allocations: 17.78 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.2956, allocations: 0 / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2957, allocations: 38.56 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 3.657e-06/0.2957, allocations: 3.984 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.2959, allocations: 57.47 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.2959, allocations: 77.11 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2961, allocations: 164.3 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.2961, allocations: 25.7 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2962, allocations: 108.2 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.2962, allocations: 11.91 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2962, allocations: 17.66 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2963, allocations: 318.8 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.2964, allocations: 8 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.2964, allocations: 13.72 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.2964, allocations: 37.64 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2965, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.566e-05/0.2965, allocations: 57.55 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2966, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2966, allocations: 3.938 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2966, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.2967, allocations: 7.984 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2967, allocations: 3.938 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.2967, allocations: 15.84 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2967, allocations: 64 / 1.056 GB, free: 4.57 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 8.57e-05/0.2968, allocations: 117.8 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2969, allocations: 7.906 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.833e-05/0.2969, allocations: 11.81 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2969, allocations: 3.984 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2969, allocations: 4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2969, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.2973, allocations: 474.8 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2973, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.2974, allocations: 4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2974, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2974, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2974, allocations: 4 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2974, allocations: 3.938 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.962e-05/0.2975, allocations: 81.89 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2975, allocations: 89.02 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.2976, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.2976, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.2976, allocations: 7.984 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2976, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.274e-05/0.2977, allocations: 121.7 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2977, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001892/0.2979, allocations: 12 kB / 1.057 GB, free: 3.535 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.0001169/0.298, allocations: 105.5 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.2981, allocations: 19.94 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2981, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.2982, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2983, allocations: 7.938 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.2987, allocations: 218.4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.299, allocations: 0.6887 MB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.299, allocations: 11.44 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.299, allocations: 4 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002236/0.3012, allocations: 0.8544 MB / 1.059 GB, free: 1.555 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/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