Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002389/0.002389, allocations: 83.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.002754/0.002754, allocations: 161.3 kB / 23.56 MB, free: 0.8672 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.841/2.841, allocations: 359 MB / 0.6048 GB, free: 10.96 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.908e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002201/0.00223, allocations: 0.8094 MB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.00237, allocations: 45 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.002424, allocations: 4 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.002457, allocations: 8.781 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.002553, allocations: 11.81 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.066e-05/0.002614, allocations: 23.95 kB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.002741, allocations: 64.72 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.002877, allocations: 31.86 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.002976, allocations: 40.42 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.003038, allocations: 21.08 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003057, allocations: 4 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.003072, allocations: 8 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.003099, allocations: 20.47 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.294e-05/0.003132, allocations: 19.92 kB / 0.7875 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.003263, allocations: 72.39 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003265, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003266, allocations: 0.9062 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.00327, 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.0005532/0.003823, allocations: 408.6 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.003865, allocations: 11.47 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.00392, allocations: 28.78 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.004137, allocations: 128.5 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.004153, allocations: 4.375 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.004169, allocations: 8.375 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.004357, allocations: 103.6 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.004377, allocations: 192 / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.00439, allocations: 4.375 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004394, allocations: 384 / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.004491, allocations: 39.91 kB / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.00515, allocations: 471.5 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.005247, allocations: 62.11 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.005295, allocations: 29.16 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.005311, allocations: 4.031 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.005362, allocations: 37.39 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 3.737e-06/0.005365, allocations: 5.422 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.005566, allocations: 49.59 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.005633, allocations: 82.69 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.005806, allocations: 193.9 kB / 0.7891 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.005826, allocations: 25.7 kB / 0.7891 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.005943, allocations: 162.6 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.005951, allocations: 5.859 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.005998, allocations: 23.38 kB / 0.7893 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002578/0.006256, allocations: 0.4884 MB / 0.7898 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.006287, allocations: 11.92 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.006325, allocations: 27.38 kB / 0.7898 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.006382, allocations: 36.66 kB / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006383, allocations: 0 / 0.7899 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.626e-05/0.006479, allocations: 54.91 kB / 0.7899 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.006495, allocations: 4 kB / 0.7899 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.006502, allocations: 8.531 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.006515, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.006573, allocations: 5.125 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.006581, allocations: 3.938 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.006612, allocations: 11.89 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.006616, allocations: 0.9375 kB / 0.79 GB, free: 8.926 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.0001248/0.006741, allocations: 160.6 kB / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.00679, allocations: 8.516 kB / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.006813, allocations: 8.562 kB / 0.7901 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.006817, allocations: 4 kB / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006821, allocations: 0 / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.006828, allocations: 4.75 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.00736, allocations: 0.5588 MB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007362, allocations: 0 / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.007385, allocations: 4 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007387, allocations: 0.8438 kB / 0.7907 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007396, allocations: 3.938 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007397, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.0074, allocations: 6.219 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.007514, allocations: 88.06 kB / 0.7908 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.007539, allocations: 7.953 kB / 0.7908 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.007555, allocations: 7.938 kB / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.007573, allocations: 0 / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.007589, allocations: 2.781 kB / 0.7908 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.007598, allocations: 7.984 kB / 0.7908 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.861e-05/0.007696, allocations: 140.5 kB / 0.7909 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007696, allocations: 0 / 0.7909 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001882/0.007885, allocations: 15.95 kB / 0.791 GB, free: 7.828 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.000109/0.007994, allocations: 95.25 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.008094, allocations: 29.19 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.008096, allocations: 3.938 kB / 0.7911 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.008128, allocations: 16.2 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.008269, allocations: 4.562 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.008635, allocations: 179 kB / 0.7913 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.192e-05/0.008717, allocations: 82.58 kB / 0.7914 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.008744, allocations: 4.688 kB / 0.7914 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.00877, allocations: 13.16 kB / 0.7914 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.008771, allocations: 1.094 kB / 0.7914 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.003042/0.01181, allocations: 358.5 kB / 0.7917 GB, free: 7.008 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.996057286974974]