Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001302/0.001302, allocations: 108 kB / 16.41 MB, free: 6.027 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.001358/0.001358, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8069, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001837/0.8088, allocations: 0.8238 MB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000106/0.8089, allocations: 44.69 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.809, allocations: 2.531 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.809, allocations: 9.609 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.8091, allocations: 8.625 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.56e-05/0.8092, allocations: 21.61 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.8093, allocations: 58.73 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.8094, allocations: 37.62 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.8095, allocations: 31.27 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.8096, allocations: 34.67 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.8096, allocations: 5.469 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.8096, allocations: 6.562 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.8096, allocations: 20.34 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.8097, allocations: 32.8 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.8098, allocations: 71.5 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8098, allocations: 3.938 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.8098, allocations: 0 / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.8098, allocations: 0 / 1.09 GB, free: 4.746 MB / 0.8575 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.0003674/0.8102, allocations: 378.9 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8102, allocations: 9.75 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.8103, allocations: 13.78 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.8104, allocations: 192.5 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.8105, allocations: 4 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.8105, allocations: 8.75 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.8106, allocations: 94.19 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8107, allocations: 0.9844 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8107, allocations: 5 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.8107, allocations: 2.156 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.8108, allocations: 39.88 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.8112, allocations: 442.5 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.8113, allocations: 41.23 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.8113, allocations: 20.64 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.8113, allocations: 4.562 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.8113, allocations: 36.39 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.8113, allocations: 1.219 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.8115, allocations: 56.56 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.8116, allocations: 78.08 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8117, allocations: 158.6 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.8117, allocations: 30.75 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.8118, allocations: 104.1 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.8118, allocations: 5.812 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.8118, allocations: 17.55 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.8119, allocations: 320.1 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.8119, allocations: 3.922 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.8119, allocations: 20.53 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.8119, allocations: 30.89 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.812, allocations: 4 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.991e-05/0.812, allocations: 57.88 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8121, allocations: 9.812 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8121, allocations: 3.938 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8121, allocations: 1.062 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.8122, allocations: 6.406 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8122, allocations: 0.875 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.8122, allocations: 11.8 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.8122, allocations: 1.125 kB / 1.092 GB, free: 2.68 MB / 0.8575 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 5.541e-05/0.8123, allocations: 113.3 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.8124, allocations: 9.047 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.8124, allocations: 20.16 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8124, allocations: 1.578 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8124, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8124, allocations: 1.922 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.8127, allocations: 473.7 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8127, allocations: 1.734 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.8127, allocations: 3.766 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8128, allocations: 4.938 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.8128, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.8128, allocations: 1.844 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8128, allocations: 1.062 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.8129, allocations: 88.41 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.8129, allocations: 94.98 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.8129, allocations: 1 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.8129, allocations: 0.75 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.813, allocations: 6.422 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.813, allocations: 1.062 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.813, allocations: 124.8 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8131, allocations: 0 / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001846/0.8132, allocations: 7.531 kB / 1.093 GB, free: 1.754 MB / 0.8575 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 9.25e-05/0.8133, allocations: 97.89 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.8134, allocations: 24.08 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8134, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-06/0.8135, allocations: 5.484 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.8136, allocations: 15.47 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.8139, allocations: 194.1 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.8141, allocations: 0.692 MB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.8141, allocations: 11.38 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.8141, allocations: 0.5312 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.002466/0.8166, allocations: 0.8737 MB / 1.095 GB, free: 16.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches