Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.00144/0.00144, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001577/0.001577, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.82/2.82, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.882e-06/5.882e-06, allocations: 4 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.546e-05/4.134e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002357/0.002398, allocations: 0.7905 MB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001499/0.002548, allocations: 39.78 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.002617, allocations: 4 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.002664, allocations: 11.86 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.002769, allocations: 7.875 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.161e-05/0.00283, allocations: 19.98 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.002987, allocations: 63.83 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.003163, allocations: 27.98 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003292, allocations: 43.89 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.003349, allocations: 23.91 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.003379, allocations: 4 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.003393, allocations: 8 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.00342, allocations: 7.938 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.003467, allocations: 23.91 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.003637, allocations: 87.56 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00364, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00364, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.003647, allocations: 0 / 0.9521 GB, free: 10.38 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.0006542/0.004302, allocations: 306 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.004355, allocations: 8.031 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.004406, allocations: 12.89 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.004709, allocations: 133.6 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.004733, allocations: 8.375 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.004756, allocations: 4.375 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.004978, allocations: 91.94 kB / 0.9527 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.004992, allocations: 4.188 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.005008, allocations: 4.359 kB / 0.9527 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005015, allocations: 384 / 0.9527 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.005116, allocations: 47.86 kB / 0.9527 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.005708, allocations: 356.4 kB / 0.953 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.005787, allocations: 45.25 kB / 0.9531 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.005826, allocations: 21.72 kB / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.00584, allocations: 0 / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.005886, allocations: 34.56 kB / 0.9531 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.005887, allocations: 0 / 0.9531 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/0.006092, allocations: 49.88 kB / 0.9532 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.006156, allocations: 81.11 kB / 0.9533 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.006321, allocations: 137.8 kB / 0.9534 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.00634, allocations: 25.7 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.006425, allocations: 107.9 kB / 0.9535 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.006437, allocations: 15.89 kB / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.006473, allocations: 9.719 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.006642, allocations: 322.8 kB / 0.9539 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.006661, allocations: 4 kB / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.006689, allocations: 21.66 kB / 0.9539 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.006735, allocations: 25.72 kB / 0.9539 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006737, allocations: 0 / 0.9539 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.006832, allocations: 65.58 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.006848, allocations: 6.344 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.006854, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.006871, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.006944, allocations: 8 kB / 0.954 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.006952, allocations: 3.938 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.006975, allocations: 0 / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.006981, allocations: 4 kB / 0.954 GB, free: 8.242 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 8.543e-05/0.007067, allocations: 117.9 kB / 0.9541 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.007106, allocations: 7.953 kB / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.007131, allocations: 11.47 kB / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007132, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.007137, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.007143, allocations: 3.938 kB / 0.9541 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.00754, allocations: 414.4 kB / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007541, allocations: 0 / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.007563, allocations: 4 kB / 0.9545 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.007565, allocations: 4.062 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.007574, allocations: 7.875 kB / 0.9545 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.007576, allocations: 4 kB / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007577, allocations: 0 / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.007683, allocations: 77.94 kB / 0.9546 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.007704, allocations: 7.953 kB / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007719, allocations: 3.938 kB / 0.9546 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.007736, allocations: 0 / 0.9546 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.00776, allocations: 11.92 kB / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.007762, allocations: 0 / 0.9546 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.462e-05/0.007837, allocations: 100.3 kB / 0.9547 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.007837, allocations: 4 kB / 0.9547 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001893/0.008026, allocations: 11.94 kB / 0.9547 GB, free: 7.391 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 0.0001438/0.00817, allocations: 99.19 kB / 0.9548 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.008257, allocations: 12 kB / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.008264, allocations: 0 / 0.9549 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.008284, allocations: 15.92 kB / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.00844, allocations: 4 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.008794, allocations: 170.2 kB / 0.955 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.042e-05/0.008874, allocations: 85.58 kB / 0.9551 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.008905, allocations: 8.078 kB / 0.9551 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.00893, allocations: 8.5 kB / 0.9551 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.008931, allocations: 0 / 0.9551 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of Templates: time 0.00311/0.01204, allocations: 339.2 kB / 0.9555 GB, free: 6.613 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 7.979963019490242]