Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001952/0.001952, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002285/0.002285, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.522/1.522, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.773/2.773, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.104e-05, allocations: 4.547 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002222/0.002253, allocations: 0.8058 MB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.002414, allocations: 35.8 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.002484, allocations: 0 / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.517e-05/0.002529, allocations: 11.88 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.002638, allocations: 13.08 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.947e-05/0.002697, allocations: 19.98 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.002829, allocations: 59.83 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.002982, allocations: 40.75 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.00309, allocations: 43.84 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.003149, allocations: 12.8 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.003174, allocations: 8 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.003187, allocations: 4 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.003221, allocations: 24.44 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.003259, allocations: 13.09 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.003402, allocations: 75.69 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.003407, allocations: 4 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003408, allocations: 0.5625 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003412, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 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.0007225/0.004135, allocations: 302.7 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004176, allocations: 8.938 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.004234, allocations: 20.84 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.004469, allocations: 134.3 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.004489, allocations: 4.375 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.004508, allocations: 10.03 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.004691, allocations: 87.95 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.004705, allocations: 4.125 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.00472, allocations: 4.375 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.004727, allocations: 5.969 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.895e-05/0.004826, allocations: 39.92 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.005508, allocations: 352.6 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.005587, allocations: 37.09 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.005644, allocations: 29.27 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.005653, allocations: 0 / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.005698, allocations: 42.44 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.005699, allocations: 0 / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.005931, allocations: 53.59 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.006, allocations: 77.11 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.006159, allocations: 130.3 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.006178, allocations: 25.7 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.006275, allocations: 112.5 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.006286, allocations: 8.547 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.006331, allocations: 17.72 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.006518, allocations: 316 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.006541, allocations: 8 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.006573, allocations: 17.7 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.006631, allocations: 35.11 kB / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.006633, allocations: 4 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.812e-05/0.006731, allocations: 46.8 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.006747, allocations: 4 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.006754, allocations: 0.8125 kB / 0.7894 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.006777, allocations: 4 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.006851, allocations: 13.05 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.006862, allocations: 3.938 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.006897, allocations: 11.95 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006902, allocations: 1.438 kB / 0.7894 GB, free: 9.531 MB / 0.7448 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.0001118/0.007013, allocations: 113.8 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.00706, allocations: 4 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.00708, allocations: 4 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007082, allocations: 0.5625 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.007092, allocations: 4 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.0071, allocations: 8.484 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.007589, allocations: 415.8 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007591, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.007616, allocations: 7.984 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007619, allocations: 0.6875 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.007628, allocations: 3.938 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.007633, allocations: 5.906 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007634, allocations: 0 / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.007755, allocations: 73.94 kB / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.007781, allocations: 15.88 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.007801, allocations: 8.562 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.00782, allocations: 0 / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.007836, allocations: 0.7188 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.007838, allocations: 0 / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.282e-05/0.007931, allocations: 106.9 kB / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007931, allocations: 0 / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002073/0.008138, allocations: 11.95 kB / 0.7902 GB, free: 8.699 MB / 0.7448 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.0001645/0.008303, allocations: 91.91 kB / 0.7902 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.008408, allocations: 25.02 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00841, allocations: 1.062 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.008421, allocations: 4 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.00859, allocations: 12.42 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.009014, allocations: 166 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/0.009104, allocations: 81.48 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.009132, allocations: 0 / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.009177, allocations: 15.28 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.009178, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.002847/0.01202, allocations: 357.2 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.907991116982885]