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.0008417/0.0008417, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009232/0.0009232, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.938/0.938, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.838/1.838, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.959e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00141/0.001439, allocations: 0.779 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.86e-05/0.001538, allocations: 47.78 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.001579, allocations: 0 / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.001609, allocations: 7.875 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.001678, allocations: 11.92 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.542e-05/0.001713, allocations: 19.97 kB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.001799, allocations: 63.78 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.001906, allocations: 27.97 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.001981, allocations: 39.91 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.002018, allocations: 15.92 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.002044, allocations: 4 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-06/0.002051, allocations: 15.94 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.002069, allocations: 15.91 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.002094, allocations: 19.94 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.002192, allocations: 79.62 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002194, allocations: 0 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002195, allocations: 0 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002198, allocations: 0 / 1.002 GB, free: 11.83 MB / 0.9636 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.000317/0.002515, allocations: 306 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.002551, allocations: 8.75 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.00258, allocations: 8.891 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.002736, allocations: 141.6 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.002745, allocations: 4.375 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.002756, allocations: 12.36 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.002872, allocations: 91.86 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.002879, allocations: 192 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.002889, allocations: 4.375 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.002894, allocations: 384 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.002952, allocations: 43.86 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.003294, allocations: 356.4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.003341, allocations: 45.33 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.003367, allocations: 17.78 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.003373, allocations: 0 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.003392, allocations: 38.56 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.003393, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.003518, allocations: 53.59 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.003552, allocations: 81.09 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.003637, allocations: 125.8 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.003646, allocations: 33.58 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.003696, allocations: 112.2 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-06/0.003704, allocations: 11.95 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.00373, allocations: 21.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.003804, allocations: 310.8 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.003818, allocations: 8 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.003835, allocations: 17.7 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.316e-05/0.003868, allocations: 25.72 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.003871, allocations: 7.938 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.663e-05/0.003927, allocations: 53.66 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.003943, allocations: 11.98 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.003947, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.003957, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.004007, allocations: 8 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.004013, allocations: 3.938 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.004029, allocations: 4 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.004034, allocations: 4 kB / 1.004 GB, free: 9.688 MB / 0.9636 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.466e-05/0.004089, allocations: 117.8 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.004108, allocations: 3.953 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.004128, allocations: 11.45 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.00413, allocations: 4 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.004134, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.004137, allocations: 3.938 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.004591, allocations: 414.4 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.004592, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.004604, allocations: 4 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004605, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.004613, allocations: 7.938 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004614, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004615, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.058e-05/0.004666, allocations: 74.8 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.004683, allocations: 15.98 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.004692, allocations: 3.938 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-06/0.004701, allocations: 0 / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.004714, allocations: 7.938 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004716, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.004754, allocations: 102.6 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004754, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001257/0.00488, allocations: 11.95 kB / 1.005 GB, free: 8.844 MB / 0.9636 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 6.789e-05/0.004948, allocations: 99.27 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.368e-05/0.005011, allocations: 16 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005013, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.005019, allocations: 11.88 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.005128, allocations: 10.03 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.005367, allocations: 192.2 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.005412, allocations: 85.75 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.005431, allocations: 8.5 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.005432, allocations: 4 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of Templates: time 0.001396/0.006827, allocations: 0.8014 MB / 1.006 GB, free: 7.555 MB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.695636127144098]