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.001881/0.001881, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.002475/0.002475, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.521/1.521, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.99/2.99, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.954e-06/1.954e-06, allocations: 0 / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.355e-05, allocations: 2.281 kB / 1 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002637/0.00267, allocations: 0.8027 MB / 1.001 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.002872, allocations: 39.78 kB / 1.001 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.002969, allocations: 4 kB / 1.001 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.701e-05/0.003036, allocations: 11.86 kB / 1.001 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.003157, allocations: 15.88 kB / 1.001 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.808e-05/0.003235, allocations: 15.98 kB / 1.001 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.003421, allocations: 63.83 kB / 1.001 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.003639, allocations: 31.95 kB / 1.001 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.003806, allocations: 39.84 kB / 1.001 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.003888, allocations: 19.92 kB / 1.001 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.003912, allocations: 4 kB / 1.001 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.003926, allocations: 8 kB / 1.001 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.00395, allocations: 15.91 kB / 1.001 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.003992, allocations: 19.94 kB / 1.001 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004155, allocations: 83.62 kB / 1.001 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004158, allocations: 0 / 1.001 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004159, allocations: 0 / 1.001 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.004165, allocations: 0 / 1.001 GB, free: 5.043 MB / 0.9044 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.000564/0.004729, allocations: 309.9 kB / 1.002 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.004777, allocations: 8.031 kB / 1.002 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.004827, allocations: 8.891 kB / 1.002 GB, free: 4.691 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.005086, allocations: 137.6 kB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.005106, allocations: 8.375 kB / 1.002 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005124, allocations: 8.375 kB / 1.002 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.005359, allocations: 87.95 kB / 1.002 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.005374, allocations: 192 / 1.002 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.005396, allocations: 12.31 kB / 1.002 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005403, allocations: 384 / 1.002 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.005539, allocations: 39.86 kB / 1.002 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.006224, allocations: 352.4 kB / 1.002 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.006302, allocations: 37.28 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.006347, allocations: 25.83 kB / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.006355, allocations: 0 / 1.002 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.00639, allocations: 34.56 kB / 1.002 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.006392, allocations: 0 / 1.002 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002171/0.006609, allocations: 49.59 kB / 1.002 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.006679, allocations: 85.05 kB / 1.002 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.006829, allocations: 137.7 kB / 1.003 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.006849, allocations: 25.7 kB / 1.003 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.006933, allocations: 111.9 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.006941, allocations: 3.953 kB / 1.003 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.006982, allocations: 17.7 kB / 1.003 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007127, allocations: 323.1 kB / 1.003 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.007147, allocations: 4 kB / 1.003 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.007176, allocations: 21.7 kB / 1.003 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.007219, allocations: 25.72 kB / 1.003 GB, free: 3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.007223, allocations: 4 kB / 1.003 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.238e-05/0.007315, allocations: 49.64 kB / 1.003 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.007334, allocations: 8 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007339, allocations: 0 / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.007357, allocations: 4.062 kB / 1.003 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.007433, allocations: 7.984 kB / 1.003 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.007443, allocations: 7.938 kB / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.007471, allocations: 3.953 kB / 1.003 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007476, allocations: 0 / 1.003 GB, free: 2.91 MB / 0.9044 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.0001132/0.00759, allocations: 117.8 kB / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.007634, allocations: 4 kB / 1.003 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.007661, allocations: 11.47 kB / 1.003 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.007663, allocations: 0 / 1.003 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.007672, allocations: 3.984 kB / 1.003 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.007677, allocations: 3.938 kB / 1.003 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.00808, allocations: 422.4 kB / 1.004 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008082, allocations: 0 / 1.004 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.008112, allocations: 7.984 kB / 1.004 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.008116, allocations: 0 / 1.004 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.008126, allocations: 3.938 kB / 1.004 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008128, allocations: 3.938 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.00813, allocations: 4 kB / 1.004 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.008229, allocations: 66 kB / 1.004 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.008263, allocations: 12.12 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.008278, allocations: 7.938 kB / 1.004 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.008299, allocations: 11.92 kB / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.008314, allocations: 0 / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008318, allocations: 7.938 kB / 1.004 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.008395, allocations: 98.39 kB / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008395, allocations: 0 / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001958/0.008591, allocations: 11.95 kB / 1.004 GB, free: 2.055 MB / 0.9044 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.0001384/0.008729, allocations: 99.23 kB / 1.004 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.008857, allocations: 23.98 kB / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.008859, allocations: 0 / 1.004 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.008872, allocations: 7.938 kB / 1.004 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009046, allocations: 1.719 kB / 1.004 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.009537, allocations: 166.5 kB / 1.004 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.009645, allocations: 75.33 kB / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.009693, allocations: 8.25 kB / 1.004 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.009729, allocations: 12.5 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of SimCode: time 8.91e-07/0.00973, allocations: 0 / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of Templates: time 0.003677/0.01341, allocations: 341.4 kB / 1.005 GB, free: 1.27 MB / 0.9044 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: 8.36948886141181]