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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 158.6 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.939/2.939, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 76.09 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00209/1.13, allocations: 0.7919 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/1.13, allocations: 41.72 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/1.13, allocations: 0.9375 kB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/1.13, allocations: 9.234 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.433e-05/1.131, allocations: 18.69 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.362e-05/1.131, allocations: 16.48 kB / 1.187 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/1.131, allocations: 59.62 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/1.131, allocations: 35.84 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/1.131, allocations: 31.77 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/1.131, allocations: 25.28 kB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/1.131, allocations: 11.03 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/1.131, allocations: 5.562 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/1.131, allocations: 17.3 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/1.131, allocations: 23.69 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/1.131, allocations: 79.95 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.131, allocations: 0 / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/1.131, allocations: 1.031 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.131, allocations: 0 / 1.188 GB, free: 15.48 MB / 1.076 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.0003459/1.131, allocations: 304.8 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.132, allocations: 10.19 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/1.132, allocations: 12.22 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.132, allocations: 133.5 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.132, allocations: 4.438 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.132, allocations: 16.86 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/1.132, allocations: 103.3 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.132, allocations: 192 / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.132, allocations: 5.312 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.132, allocations: 2.781 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/1.132, allocations: 39 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/1.132, allocations: 354.2 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.449e-05/1.132, allocations: 41.97 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/1.132, allocations: 19.83 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/1.132, allocations: 4.797 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/1.132, allocations: 33.31 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.132, allocations: 0 / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001554/1.133, allocations: 55.97 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.133, allocations: 79.28 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/1.133, allocations: 128.4 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/1.133, allocations: 25.7 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/1.133, allocations: 109.2 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/1.133, allocations: 10.02 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/1.133, allocations: 19.16 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/1.133, allocations: 321.8 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/1.133, allocations: 3.406 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.863e-05/1.133, allocations: 20.62 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/1.133, allocations: 27.72 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.133, allocations: 1 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.045e-05/1.133, allocations: 55.12 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.133, allocations: 8.5 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.133, allocations: 0.9688 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.133, allocations: 12.72 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/1.133, allocations: 7.656 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.133, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/1.133, allocations: 5.203 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.133, allocations: 2.578 kB / 1.19 GB, free: 13.65 MB / 1.076 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 4.982e-05/1.133, allocations: 113.9 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/1.133, allocations: 3.688 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/1.133, allocations: 14.08 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.133, allocations: 1.312 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.133, allocations: 5.984 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/1.133, allocations: 4 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/1.134, allocations: 412.7 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.134, allocations: 5.031 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/1.134, allocations: 3.984 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.134, allocations: 0.5625 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/1.134, allocations: 1.344 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.134, allocations: 5.125 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.134, allocations: 0.6562 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/1.134, allocations: 72.89 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/1.134, allocations: 16.14 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.134, allocations: 1.797 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/1.134, allocations: 5 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/1.134, allocations: 1.734 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/1.134, allocations: 1.469 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.353e-05/1.134, allocations: 98.95 kB / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.134, allocations: 0 / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001968/1.134, allocations: 20.72 kB / 1.19 GB, free: 12.91 MB / 1.076 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 7.895e-05/1.134, allocations: 93.88 kB / 1.19 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.47e-05/1.134, allocations: 23.28 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.134, allocations: 0.875 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/1.134, allocations: 4.328 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/1.134, allocations: 11.17 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/1.135, allocations: 152.7 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/1.135, allocations: 83.77 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.836e-05/1.135, allocations: 13.27 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/1.135, allocations: 10.5 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.135, allocations: 0 / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of Templates: time 0.002708/1.137, allocations: 325.2 kB / 1.191 GB, free: 12.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.419460844015703]