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.007547/0.007552, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001927/0.001927, allocations: 199 kB / 16.79 MB, free: 6.254 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.445/1.445, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 66.88 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3144, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002481/0.3169, allocations: 0.8842 MB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.3171, allocations: 35.8 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.3172, allocations: 4 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.141e-05/0.3173, allocations: 3.938 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.3174, allocations: 11.92 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-05/0.3174, allocations: 19.98 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3176, allocations: 59.75 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3177, allocations: 35.97 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.3178, allocations: 35.8 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.3179, allocations: 23.8 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3179, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.3179, allocations: 4 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3179, allocations: 15.98 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.318, allocations: 31.75 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3181, allocations: 48.17 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3181, allocations: 0 / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3181, allocations: 0 / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3181, allocations: 0 / 1.054 GB, free: 7.113 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.0005225/0.3187, allocations: 387.3 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3187, allocations: 8.031 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.3188, allocations: 20.84 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.319, allocations: 192.1 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.319, allocations: 4.375 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3191, allocations: 8.375 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3193, allocations: 95.84 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3193, allocations: 192 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3193, allocations: 11.94 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3193, allocations: 0 / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.3194, allocations: 39.92 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.32, allocations: 436.5 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.3201, allocations: 45.41 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.3201, allocations: 17.7 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.3201, allocations: 3.938 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3202, allocations: 34.56 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.3202, allocations: 4 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.3204, allocations: 61.42 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3204, allocations: 77.11 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3206, allocations: 161.7 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3206, allocations: 33.64 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3207, allocations: 104 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.3207, allocations: 7.906 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.3207, allocations: 13.72 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3208, allocations: 327.1 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.3209, allocations: 4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.3209, allocations: 21.7 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.3209, allocations: 21.72 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.321, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.786e-05/0.321, allocations: 65.59 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3211, allocations: 8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3211, allocations: 3.938 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3211, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.3212, allocations: 8 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3212, allocations: 3.984 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.3212, allocations: 11.84 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3212, allocations: 0 / 1.056 GB, free: 4.656 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.353e-05/0.3213, allocations: 117.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3214, allocations: 7.906 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3214, allocations: 23.8 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3214, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3214, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3214, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.3218, allocations: 466.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3218, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.3218, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3218, allocations: 4.062 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3218, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3219, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3219, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.645e-05/0.322, allocations: 85.83 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.322, allocations: 89 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.322, allocations: 3.938 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3221, allocations: 4.031 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.3221, allocations: 3.938 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3221, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.699e-05/0.3222, allocations: 130 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001947/0.3224, allocations: 4 kB / 1.057 GB, free: 3.613 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.0001234/0.3225, allocations: 99.25 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.3226, allocations: 16 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3226, allocations: 0 / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.3226, allocations: 11.92 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.3228, allocations: 13.5 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3232, allocations: 206.5 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3235, allocations: 0.6965 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.3235, allocations: 11.44 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3235, allocations: 0 / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of Templates: time 0.002735/0.3263, allocations: 0.8551 MB / 1.059 GB, free: 1.637 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 -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