Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001973/0.001973, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002112/0.002112, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.629/1.629, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.248/3.248, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.666e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002028/0.002055, allocations: 0.8045 MB / 0.8116 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.002184, allocations: 45.38 kB / 0.8116 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.002235, allocations: 0 / 0.8116 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.00227, allocations: 7.875 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.002354, allocations: 12.53 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.555e-05/0.002419, allocations: 19.97 kB / 0.8117 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.002542, allocations: 64.39 kB / 0.8117 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.00267, allocations: 33.08 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.914e-05/0.00276, allocations: 39.78 kB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.002824, allocations: 23.91 kB / 0.8118 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.002847, allocations: 4.875 kB / 0.8118 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.00286, allocations: 8 kB / 0.8119 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.002881, allocations: 13.11 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.002919, allocations: 23.92 kB / 0.8119 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.003048, allocations: 71.75 kB / 0.812 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00305, allocations: 0 / 0.812 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003051, allocations: 1.469 kB / 0.812 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003055, allocations: 0 / 0.812 GB, free: 0.918 MB / 0.7605 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.0005647/0.00362, allocations: 411.9 kB / 0.8123 GB, free: 488 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.003659, allocations: 13.56 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.003707, allocations: 12.89 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.003929, allocations: 136.4 kB / 0.8125 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.003944, allocations: 4.375 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.003961, allocations: 14.22 kB / 0.8125 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.004135, allocations: 96.17 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004145, allocations: 192 / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.004156, allocations: 8.375 kB / 0.8126 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004161, allocations: 8.25 kB / 0.8126 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.004249, allocations: 41.2 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.004902, allocations: 470.3 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.005005, allocations: 62.88 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.005051, allocations: 28.08 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005063, allocations: 2 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.0051, allocations: 41.39 kB / 0.8132 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005101, allocations: 3.938 kB / 0.8132 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001885/0.00529, allocations: 45.66 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.005358, allocations: 81.58 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.005537, allocations: 198.6 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.005555, allocations: 25.7 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.005664, allocations: 160.1 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.005678, allocations: 11.94 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.005722, allocations: 23.38 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002557/0.005977, allocations: 492.1 kB / 0.8142 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.005999, allocations: 8.625 kB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.006034, allocations: 27.36 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.006085, allocations: 32.44 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006087, allocations: 0.75 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.006199, allocations: 58.34 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.006217, allocations: 8 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.006221, allocations: 1.281 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.006235, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.006294, allocations: 4 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.006308, allocations: 12.69 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.006336, allocations: 7.891 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.00634, allocations: 1.031 kB / 0.8144 GB, free: 14.18 MB / 0.7761 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 0.0001246/0.006465, allocations: 160.6 kB / 0.8145 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.006506, allocations: 9.328 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.006533, allocations: 11.45 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006534, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006538, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.006542, allocations: 4.906 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.007068, allocations: 0.56 MB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007069, allocations: 0 / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.007107, allocations: 15.94 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.007109, allocations: 0 / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.007118, allocations: 3.938 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.007122, allocations: 4 kB / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007123, allocations: 0 / 0.8151 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007238, allocations: 91.5 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.00726, allocations: 7.953 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.007273, allocations: 3.938 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.00729, allocations: 0 / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.00731, allocations: 4 kB / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.007312, allocations: 0 / 0.8152 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001084/0.007421, allocations: 148.3 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007421, allocations: 0 / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001915/0.007612, allocations: 12.73 kB / 0.8154 GB, free: 13.07 MB / 0.7761 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.0001315/0.007744, allocations: 98.28 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.007848, allocations: 28.19 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00785, allocations: 0.5625 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.007871, allocations: 17 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.008027, allocations: 9.672 kB / 0.8155 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.008396, allocations: 175.1 kB / 0.8157 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.008483, allocations: 78.84 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.00851, allocations: 8.484 kB / 0.8158 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.00854, allocations: 13.16 kB / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.00854, allocations: 3.938 kB / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003134/0.01167, allocations: 343.2 kB / 0.8161 GB, free: 12.26 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.364604157977737]