Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001823/0.001823, 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.00196/0.00196, 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.91/2.91, allocations: 359 MB / 0.6048 GB, free: 10.94 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.577e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002354/0.002389, allocations: 0.8105 MB / 0.7872 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.002531, allocations: 39.78 kB / 0.7872 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.002585, allocations: 0.5 kB / 0.7872 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.002623, allocations: 16.86 kB / 0.7872 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.002722, allocations: 11.88 kB / 0.7872 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.732e-05/0.002779, allocations: 15.98 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.002911, allocations: 56.88 kB / 0.7873 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.003059, allocations: 47.83 kB / 0.7874 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.003162, allocations: 37.27 kB / 0.7874 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.003226, allocations: 19.91 kB / 0.7874 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.003255, allocations: 15.92 kB / 0.7874 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.003266, allocations: 4 kB / 0.7874 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.003293, allocations: 16.98 kB / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.003331, allocations: 19.94 kB / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.003473, allocations: 67.75 kB / 0.7875 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003476, allocations: 5.562 kB / 0.7875 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003476, allocations: 0 / 0.7875 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.003481, 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.0005993/0.00408, allocations: 404.6 kB / 0.7879 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.004125, allocations: 8.031 kB / 0.7879 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.004179, allocations: 18.5 kB / 0.788 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.004424, allocations: 144.4 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.004442, allocations: 8.375 kB / 0.7881 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.004458, allocations: 8.375 kB / 0.7881 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.004644, allocations: 94.45 kB / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.004655, allocations: 192 / 0.7882 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.00467, allocations: 9.062 kB / 0.7882 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004675, allocations: 384 / 0.7882 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.004769, allocations: 41.27 kB / 0.7882 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.005422, allocations: 466.3 kB / 0.7887 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.005519, allocations: 62.25 kB / 0.7887 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.005567, allocations: 25.44 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.00558, allocations: 3.938 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.005619, allocations: 45.38 kB / 0.7888 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005621, allocations: 0 / 0.7888 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004616/0.006082, allocations: 51.88 kB / 0.7889 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.006154, allocations: 81.05 kB / 0.7889 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.006337, allocations: 197.8 kB / 0.7891 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.006358, allocations: 25.7 kB / 0.7892 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.006486, allocations: 159.4 kB / 0.7893 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.006497, allocations: 7.953 kB / 0.7893 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.006541, allocations: 19.91 kB / 0.7893 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.006813, allocations: 0.4884 MB / 0.7898 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.006834, allocations: 9.656 kB / 0.7898 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.389e-05/0.006868, allocations: 23.38 kB / 0.7898 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.006939, allocations: 36.02 kB / 0.7899 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.00694, allocations: 0 / 0.7899 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.424e-05/0.007035, allocations: 54.92 kB / 0.7899 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.00705, allocations: 4 kB / 0.7899 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007055, allocations: 4 kB / 0.7899 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007069, allocations: 1.156 kB / 0.7899 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.007135, allocations: 8.078 kB / 0.7899 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.007142, allocations: 3.938 kB / 0.79 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.007171, allocations: 13.27 kB / 0.79 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.00718, allocations: 11.92 kB / 0.79 GB, free: 8.75 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.0001301/0.00731, allocations: 160.6 kB / 0.7901 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.007348, allocations: 5.75 kB / 0.7901 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.00737, allocations: 3.469 kB / 0.7901 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007371, allocations: 4 kB / 0.7901 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007375, allocations: 0 / 0.7901 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.007383, allocations: 8.797 kB / 0.7902 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.007922, allocations: 0.5616 MB / 0.7907 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007923, allocations: 1.562 kB / 0.7907 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.007949, allocations: 7.984 kB / 0.7907 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007951, allocations: 0 / 0.7907 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007959, allocations: 3.938 kB / 0.7907 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.007963, allocations: 5.062 kB / 0.7907 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007964, allocations: 0 / 0.7907 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.008077, allocations: 91.3 kB / 0.7908 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.008102, allocations: 11.94 kB / 0.7908 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008116, allocations: 3.938 kB / 0.7908 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.008133, allocations: 0 / 0.7908 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.008152, allocations: 4 kB / 0.7908 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.008154, allocations: 0 / 0.7908 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001139/0.008268, allocations: 145.8 kB / 0.791 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008268, allocations: 0 / 0.791 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001779/0.008446, allocations: 11.95 kB / 0.791 GB, free: 7.652 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.0001305/0.008577, allocations: 97.69 kB / 0.7911 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.008687, allocations: 35.61 kB / 0.7911 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008689, allocations: 0 / 0.7911 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.00871, allocations: 14.06 kB / 0.7911 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.008869, allocations: 8 kB / 0.7911 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.009258, allocations: 178.5 kB / 0.7913 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.982e-05/0.009338, allocations: 76.23 kB / 0.7914 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.009365, allocations: 0.8438 kB / 0.7914 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.009398, allocations: 12.5 kB / 0.7914 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.009398, allocations: 1.281 kB / 0.7914 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.002948/0.01235, allocations: 349.4 kB / 0.7917 GB, free: 6.848 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.035311392974108]