Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.005753/0.005753, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001291/0.001291, allocations: 198.2 kB / 16.79 MB, free: 5.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.62/1.62, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 68.62 kB / 0.899 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002362/0.3141, allocations: 0.8726 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.3142, allocations: 43.78 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.3143, allocations: 3.938 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.3144, allocations: 11.92 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.3145, allocations: 3.938 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.152e-05/0.3146, allocations: 12 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.764e-05/0.3147, allocations: 59.75 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.3148, allocations: 43.97 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.3149, allocations: 27.8 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.3149, allocations: 27.8 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.315, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.315, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.315, allocations: 11.98 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.3151, allocations: 27.75 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.39e-05/0.3151, allocations: 56.17 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3152, allocations: 4 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3152, allocations: 0 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3152, allocations: 0 / 1.054 GB, free: 7.086 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.0004548/0.3156, allocations: 383.3 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3157, allocations: 8.031 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3157, allocations: 12.84 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3159, allocations: 200.1 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.316, allocations: 8.375 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.316, allocations: 4.375 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3161, allocations: 97.73 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3162, allocations: 4.188 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3162, allocations: 3.938 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3162, allocations: 0 / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.3163, allocations: 39.92 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.3168, allocations: 440.5 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.3169, allocations: 45.27 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.317, allocations: 17.84 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.317, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.317, allocations: 34.56 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.317, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/0.3172, allocations: 61.47 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3172, allocations: 84.98 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3174, allocations: 162.2 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3174, allocations: 25.7 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.3175, allocations: 100.2 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.3175, allocations: 11.89 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3175, allocations: 21.66 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.3176, allocations: 318.8 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3177, allocations: 7.984 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.3177, allocations: 17.72 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.3177, allocations: 29.72 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3177, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.106e-05/0.3178, allocations: 57.53 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3179, allocations: 8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3179, allocations: 3.938 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3179, allocations: 0 / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.3179, allocations: 8 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.318, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.318, allocations: 7.844 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.318, allocations: 4 kB / 1.056 GB, free: 4.637 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 7.559e-05/0.3181, allocations: 125.8 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.3181, allocations: 7.906 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3182, allocations: 11.81 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3182, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3182, allocations: 4 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3182, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3186, allocations: 474.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3186, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.3186, allocations: 4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3186, allocations: 3.984 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3186, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3186, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3187, allocations: 4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.3187, allocations: 81.91 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.3188, allocations: 89 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3188, allocations: 7.938 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.3189, allocations: 3.938 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.3189, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3189, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.319, allocations: 123.1 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.319, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001876/0.3192, allocations: 8 kB / 1.057 GB, free: 3.598 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.0001113/0.3193, allocations: 99.28 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.3194, allocations: 19.98 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3194, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.3194, allocations: 11.94 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.3196, allocations: 9.484 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.3199, allocations: 214.4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3201, allocations: 0.6926 MB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.3202, allocations: 11.44 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3202, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of Templates: time 0.002144/0.3223, allocations: 0.8522 MB / 1.059 GB, free: 1.613 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches