Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.002586/0.002586, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.003137/0.003137, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.826/2.826, allocations: 359 MB / 0.6048 GB, free: 10.93 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.972e-05, allocations: 6.516 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002151/0.00218, allocations: 0.8105 MB / 0.7872 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.0023, allocations: 35.84 kB / 0.7872 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.002354, allocations: 5.219 kB / 0.7872 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.002393, allocations: 11.86 kB / 0.7872 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.002486, allocations: 11.81 kB / 0.7872 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.443e-05/0.00255, allocations: 20.61 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.00268, allocations: 59.84 kB / 0.7873 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.002823, allocations: 41.25 kB / 0.7874 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.002908, allocations: 35.91 kB / 0.7874 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.002963, allocations: 19.91 kB / 0.7874 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.002989, allocations: 8 kB / 0.7874 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.002999, allocations: 4.844 kB / 0.7874 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.003025, allocations: 15.92 kB / 0.7874 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.003061, allocations: 20.48 kB / 0.7875 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003197, allocations: 72.45 kB / 0.7875 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.003202, allocations: 3.984 kB / 0.7875 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003203, allocations: 0.9062 kB / 0.7875 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003208, allocations: 0 / 0.7875 GB, free: 11.49 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.0005527/0.00376, allocations: 404.7 kB / 0.7879 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003798, allocations: 11.97 kB / 0.7879 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.003853, allocations: 22.5 kB / 0.7879 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.004063, allocations: 132.5 kB / 0.7881 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.004079, allocations: 8.375 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.004092, allocations: 4.375 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.004277, allocations: 106.9 kB / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004287, allocations: 192 / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.004297, allocations: 384 / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004304, allocations: 4.375 kB / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.004406, allocations: 41.52 kB / 0.7882 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.005069, allocations: 474.4 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.005165, allocations: 54.12 kB / 0.7887 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.005217, allocations: 24.56 kB / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.005231, allocations: 8.031 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.005263, allocations: 36.58 kB / 0.7888 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005264, allocations: 0 / 0.7888 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002152/0.005479, allocations: 57.58 kB / 0.7889 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.005549, allocations: 81.11 kB / 0.7889 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.005731, allocations: 193.8 kB / 0.7891 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.005751, allocations: 25.7 kB / 0.7891 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.005867, allocations: 158.7 kB / 0.7893 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.005878, allocations: 8.672 kB / 0.7893 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.005921, allocations: 19.88 kB / 0.7893 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002916/0.006212, allocations: 0.4961 MB / 0.7898 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.006234, allocations: 8.531 kB / 0.7898 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.006275, allocations: 20.53 kB / 0.7898 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.006335, allocations: 35.31 kB / 0.7899 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006336, allocations: 0.5 kB / 0.7899 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.485e-05/0.006431, allocations: 55.59 kB / 0.7899 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006444, allocations: 7.938 kB / 0.7899 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006449, allocations: 0 / 0.7899 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.006463, allocations: 0 / 0.7899 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.006523, allocations: 9.156 kB / 0.7899 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.006533, allocations: 3.938 kB / 0.7899 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.006566, allocations: 15.88 kB / 0.79 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.006575, allocations: 8.938 kB / 0.79 GB, free: 8.754 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.0001206/0.006695, allocations: 156.6 kB / 0.7901 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.006736, allocations: 9.656 kB / 0.7901 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.006759, allocations: 3.469 kB / 0.7901 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006761, allocations: 0 / 0.7901 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.006764, allocations: 0 / 0.7901 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.006769, allocations: 10.22 kB / 0.7901 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.007303, allocations: 0.5577 MB / 0.7907 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007305, allocations: 0 / 0.7907 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.007322, allocations: 0 / 0.7907 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.007327, allocations: 4 kB / 0.7907 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007335, allocations: 3.938 kB / 0.7907 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007336, allocations: 3.438 kB / 0.7907 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007337, allocations: 0 / 0.7907 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.007458, allocations: 96.16 kB / 0.7908 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.007482, allocations: 7.938 kB / 0.7908 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.0075, allocations: 11.92 kB / 0.7908 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.007517, allocations: 0 / 0.7908 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.007534, allocations: 0 / 0.7908 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.007536, allocations: 0 / 0.7908 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001213/0.007657, allocations: 150.4 kB / 0.7909 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007657, allocations: 0 / 0.7909 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001872/0.007844, allocations: 12.45 kB / 0.791 GB, free: 7.66 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.0001622/0.008007, allocations: 96.38 kB / 0.791 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.008145, allocations: 32.95 kB / 0.7911 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.008147, allocations: 0 / 0.7911 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.008176, allocations: 15.69 kB / 0.7911 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.008343, allocations: 4.562 kB / 0.7911 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.008792, allocations: 184.1 kB / 0.7913 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.664e-05/0.008888, allocations: 80.22 kB / 0.7914 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.008923, allocations: 4.531 kB / 0.7914 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.008953, allocations: 9.312 kB / 0.7914 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.008953, allocations: 0 / 0.7914 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.003602/0.01256, allocations: 357.2 kB / 0.7917 GB, free: 6.844 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.851385916932486]